pub fn map_config<T, F, C>(factory: T, f: F) -> MapConfig<T, F, C>
where
    T: ServiceFactory,
    F: Fn(&C) -> MappedConfig<T::Config>,
{
    MapConfig::new(factory, f)
}
/// Adapt external config to a config for provided new service
Adapt external config to a config for provided new service
Adapt external config to a config for provided new service
pub fn map_config<T, F, C>(factory: T, f: F) -> MapConfig<T, F, C>
where
    T: ServiceFactory,
    F: Fn(&C) -> MappedConfig<T::Config>,
{
    MapConfig::new(factory, f)
}
pub fn map_config < T , F , C > ( factory : T , f : F ) -> MapConfig < T , F , C > where T : ServiceFactory , F : Fn ( & C ) -> MappedConfig < T :: Config > , { MapConfig :: new ( factory , f ) }
Adapt external config to a config for provided new service
Adapt external config to a config for provided new service
factory
T
f
F