Skip to main content

BoxFuture

Type Alias BoxFuture 

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

Shorthand for a wrapped async future with a lifetime, used by many parts of this framework.

An owned future has the 'static lifetime.

Aliased Typeยง

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