pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
alloc
An owned dynamically typed Future for use in cases where you can’t statically type your result or need to add some indirection.
Future
This type is often created by the boxed method on FutureExt. See its documentation for more.
boxed
FutureExt
pub struct BoxFuture<'a, T> { /* private fields */ }