Function ntex_service::boxed::service
source · pub fn service<S, R>(service: S) -> BoxService<R, S::Response, S::Error>where
R: 'static,
S: Service<R> + 'static,
Expand description
Create boxed service
pub fn service<S, R>(service: S) -> BoxService<R, S::Response, S::Error>where
R: 'static,
S: Service<R> + 'static,
Create boxed service