Function actix_service::boxed::service
source · pub fn service<S, Req>(service: S) -> BoxService<Req, S::Response, S::Error>where
S: Service<Req> + 'static,
Req: 'static,
S::Future: 'static,
Expand description
Wraps service as a trait object using BoxService
.