BoxFuture

Type Alias BoxFuture 

Source
type BoxFuture<T, E> = Pin<Box<dyn Future<Output = Result<T, E>> + Send>>;
Expand description

A boxed Future + Send trait object.

This type alias represents a boxed future that is Send and can be moved across threads.

Aliased Typeยง

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