[][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,
    M: ServiceFactory<Config = (), Request = C, Response = T::Config, Error = T::InitError, InitError = T::InitError>,
    U1: IntoServiceFactory<T>,
    U2: IntoServiceFactory<M>, 

Adapt external config argument to a config for provided service factory

This function uses service for converting config.