Trait safe_app::FutureExt [−][src]
pub trait FutureExt: Future { fn into_box(
self
) -> Box<Future<Item = Self::Item, Error = Self::Error> + 'static>; }
Additional future combinators.
Required Methods
ⓘImportant traits for Box<R>
fn into_box(
self
) -> Box<Future<Item = Self::Item, Error = Self::Error> + 'static>
self
) -> Box<Future<Item = Self::Item, Error = Self::Error> + 'static>
Box this future. Similar to boxed
combinator, but does not require
the future to implement Send
.
Implementors
impl<F> FutureExt for F where
F: 'static + Future,