Function ntex::boxed::factory[][src]

pub fn factory<T, R, C>(
    factory: T
) -> BoxServiceFactory<C, R, <T as ServiceFactory<R, C>>::Response, <T as ServiceFactory<R, C>>::Error, <T as ServiceFactory<R, C>>::InitError> where
    C: 'static,
    R: 'static,
    T: 'static + ServiceFactory<R, C>,
    <T as ServiceFactory<R, C>>::Response: 'static,
    <T as ServiceFactory<R, C>>::Error: 'static,
    <T as ServiceFactory<R, C>>::InitError: 'static, 
Expand description

Create boxed service factory