Type Alias BoxFuture

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

Type alias for a future that is pinned and boxed with a specific return type (T) and lifetime (’a)

Aliased Type§

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