Trait FutureExt

Source
pub trait FutureExt: Future {
    // Provided method
    fn boxed<'a, T>(self) -> BoxFuture<'a, T>
       where Self: Future<Output = T> + Sized + Send + 'a { ... }
}

Provided Methods§

Source

fn boxed<'a, T>(self) -> BoxFuture<'a, T>
where Self: Future<Output = T> + Sized + Send + 'a,

Implementors§

Source§

impl<T> FutureExt for T
where T: Future + ?Sized,