Skip to main content

BoxFuture

Type Alias BoxFuture 

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

A pinned, heap-allocated future that resolves to T and is Send.

Aliased Typeยง

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