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

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

Create boxed service