pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
Expand description
A type alias for a pinned, boxed future that lets you write shorter code without littering it with Pin and Send bounds.
Aliased Typeยง
struct BoxFuture<'a, T> {}