Type Alias xitca_web::service::BoxFuture

source ·
pub type BoxFuture<'a, Res, Err> = Pin<Box<dyn Future<Output = Result<Res, Err>> + 'a>>;
Expand description

boxed core::future::Future trait object with no extra auto trait bound(!Send and !Sync).

Aliased Type§

struct BoxFuture<'a, Res, Err> { /* private fields */ }