Type Alias BoxFuture

Source
pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
Available on crate feature alloc only.
Expand description

Type alias for a pin-boxed future, with a Send bound on non-wasm targets.

Aliased Typeยง

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