Skip to main content

BoxedSendFuture

Type Alias BoxedSendFuture 

Source
pub type BoxedSendFuture = Pin<Box<dyn Future<Output = Box<dyn Any + Send + 'static>> + Send + 'static>>;
Expand description

Type alias for a boxed future that outputs boxed Any and is Send + ’static.

This type is used for type-erased futures that can be sent between threads. It’s primarily used internally for object-safe trait implementations.

Aliased Type§

pub struct BoxedSendFuture { /* private fields */ }