[][src]Trait futures::compat::Future01CompatExt

pub trait Future01CompatExt: Future {
    fn compat(self) -> Compat<Self, ()> { ... }
}

Extension trait for futures 0.1 Future

Provided Methods

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

Implementors