[][src]Trait safe_app::utils::FutureExt

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

Additional future combinators.

Required methods

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

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

Loading content...

Implementors

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

Loading content...