logo
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.