Skip to main content

BoxFuture

Type Alias BoxFuture 

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

Owned future returned by AsyncRequestHandler::handle.

Aliased Typeยง

#[repr(transparent)]
pub struct BoxFuture<'req, T> { /* private fields */ }