logo

Function actix_service::boxed::rc_service[][src]

pub fn rc_service<S, Req>(service: S) -> RcService<Req, S::Response, S::Error> where
    S: Service<Req> + 'static,
    Req: 'static,
    S::Future: 'static, 
Expand description

Wraps service as a trait object using RcService.