pub type BoxFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;Expand description
Type alias for boxed async futures.
Used internally by the middleware system for async execution. This type represents
a pinned, boxed future that resolves to type T and can be sent across threads.
§Type Parameters
'a- Lifetime of the futureT- The type the future resolves to
Aliased Type§
pub struct BoxFuture<'a, T> { /* private fields */ }