Trait moka::future::FutureExt

source ·
pub trait FutureExt: Future {
    // Provided method
    fn boxed<'a, T>(self) -> BoxFuture<'a, T>
       where Self: Future<Output = T> + Sized + Send + 'a { ... }
}
Available on crate feature future only.

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,