Function ntex_service::boxed::factory
source · pub fn factory<F, R, C>(
factory: F
) -> BoxServiceFactory<C, R, F::Response, F::Error, F::InitError>where
R: 'static,
C: 'static,
F: ServiceFactory<R, C> + 'static,
F::Service: 'static,
Expand description
Create boxed service factory