Function ntex::service::boxed::service [−][src]
pub fn service<T>(
service: T
) -> Box<dyn Service<Error = <T as Service>::Error, Future = Pin<Box<dyn Future<Output = Result<<T as Service>::Response, <T as Service>::Error>> + 'static, Global>>, Response = <T as Service>::Response, Request = <T as Service>::Request> + 'static, Global> where
T: Service + 'static,
<T as Service>::Future: 'static,
Create boxed service