pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;Expand description
A boxed, Send future — the return type of TokenSource::get_token.
Defined locally because the driver takes no dependency on the futures
crate; it is the conventional Pin<Box<dyn Future + Send>> shape.
Aliased Type§
pub struct BoxFuture<'a, T> { /* private fields */ }