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