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 future this port’s methods answer with, in the one shape a trait object can carry.

Aliased Type§

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