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

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

Adapt external config argument to a config for provided service factory

This function uses service for converting config.