pub type BoxFuture<T> = BoxFuture<'static, T>;Expand description
A boxed, sendable future used for the TtyHandle::exit_code field.
Equivalent to Pin<Box<dyn Future + Send>>; defined as a
futures::future::BoxFuture<'static, T> to match the alkcall
convention (alkcall pulls in futures, so no new transitive dep).
Functionally identical to the hand-rolled Pin<Box<dyn Future + Send + 'static>> — futures::future::BoxFuture<'static, T> is
exactly that alias.
Aliased Type§
#[repr(transparent)]pub struct BoxFuture<T> { /* private fields */ }