Skip to main content

BoxFuture

Type Alias BoxFuture 

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

A boxed future, spelled out rather than pulled from futures, because this crate needs exactly one of them.

Aliased Typeยง

#[repr(transparent)]
pub struct BoxFuture<'a, T> { /* private fields */ }