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

pub fn factory<T>(
    factory: T
) -> BoxServiceFactory<<T as ServiceFactory>::Config, <T as ServiceFactory>::Request, <T as ServiceFactory>::Response, <T as ServiceFactory>::Error, <T as ServiceFactory>::InitError> where
    T: ServiceFactory + 'static,
    <T as ServiceFactory>::Request: 'static,
    <T as ServiceFactory>::Response: 'static,
    <T as ServiceFactory>::Service: 'static,
    <T as ServiceFactory>::Future: 'static,
    <T as ServiceFactory>::Error: 'static,
    <T as ServiceFactory>::InitError: 'static, 

Create boxed service factory