Type Alias BoxFuture

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

A boxed future that can be sent across threads.

Aliased Typeยง

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