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 pinned, boxed future 固定位置的盒子未来

Aliased Type§

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