[][src]Function ntex::service::boxed::service

pub fn service<T>(
    service: T
) -> Box<dyn Service<Future = Pin<Box<dyn Future<Output = Result<<T as Service>::Response, <T as Service>::Error>> + 'static>>, Error = <T as Service>::Error, Response = <T as Service>::Response, Request = <T as Service>::Request> + 'static> where
    T: Service + 'static,
    <T as Service>::Future: 'static, 

Create boxed service