Skip to main content

BoxedLocalFuture

Type Alias BoxedLocalFuture 

Source
pub type BoxedLocalFuture = Pin<Box<dyn Future<Output = Box<dyn Any>>>>;
Expand description

Type alias for a boxed future that outputs boxed Any (non-Send).

This type is used for type-erased futures that are local to a thread.

Aliased Typeยง

pub struct BoxedLocalFuture { /* private fields */ }