[][src]Trait safe_core::FutureExt

pub trait FutureExt: Future + Sized {
    fn into_box(self) -> Box<dyn Future<Item = Self::Item, Error = Self::Error>>;
}

Additional future combinators.

Required methods

fn into_box(self) -> Box<dyn Future<Item = Self::Item, Error = Self::Error>>

Box this future. Similar to boxed combinator, but does not require the future to implement Send.

Loading content...

Implementors

impl<F: Future + 'static> FutureExt for F[src]

Loading content...