[][src]Trait futures_util::compat::Future01CompatExt

pub trait Future01CompatExt: Future01 {
    fn compat(self) -> Compat01As03<Self>
    where
        Self: Sized
, { ... } }

Extension trait for futures 0.1 Future

Provided methods

fn compat(self) -> Compat01As03<Self> where
    Self: Sized

Converts a futures 0.1 Future<Item = T, Error = E> into a futures 0.3 Future<Output = Result<T, E>>.

Loading content...

Implementors

impl<Fut: Future01> Future01CompatExt for Fut[src]

fn compat(self) -> Compat01As03<Self> where
    Self: Sized
[src]

Loading content...