Function ntex::service::map_config_service[][src]

pub fn map_config_service<T, R, M, C, C2, U1, U2>(
    factory: U1,
    mapper: U2
) -> MapConfigService<T, R, M, C, C2> where
    T: ServiceFactory<R, C2>,
    M: ServiceFactory<C, (), Response = C2, Error = <T as ServiceFactory<R, C2>>::InitError, InitError = <T as ServiceFactory<R, C2>>::InitError>,
    U1: IntoServiceFactory<T, R, C2>,
    U2: IntoServiceFactory<M, C, ()>, 
Expand description

Adapt external config argument to a config for provided service factory

This function uses service for converting config.