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