Skip to main content

BoxFuture

Type Alias BoxFuture 

Source
pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
Expand description

An owned, Send boxed future โ€” the object-safe async return used to keep SenderIdentityResolver dyn-dispatchable without adding a new dyn-dispatch trait-macro (the workspace ratchet).

Aliased Typeยง

pub struct BoxFuture<'a, T> { /* private fields */ }