BoxFuture

Type Alias BoxFuture 

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

A Future trait object.

Aliased Type§

pub struct BoxFuture<T> { /* private fields */ }

Trait Implementations§

Source§

impl<T, E> WrapFuture<T, E> for BoxFuture<Result<T, E>>

Source§

fn into_future(self) -> BoxFuture<Result<T, E>>

Convert itself into a boxed future.