moka::future

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,