Type Definition futures::future::BoxFuture

source · []
pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a, Global>>;
Expand description

An owned dynamically typed Future for use in cases where you can’t statically type your result or need to add some indirection.