Type Alias BoxFuture

Source
pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + 'a>>;
Expand description

Workaround for returning futures from async Traits.

Aliased Typeยง

pub struct BoxFuture<'a, T> { /* private fields */ }