actix_service::boxed

Type Alias BoxService

source
pub type BoxService<Req, Res, Err> = Box<dyn Service<Req, Response = Res, Error = Err, Future = BoxFuture<Result<Res, Err>>>>;
Expand description

Type alias for service trait object using Box.

Aliased Typeยง

struct BoxService<Req, Res, Err>(/* private fields */);