Function ntex_service::map_config
source · pub fn map_config<T, R, U, F, C, C2>(factory: U, f: F) -> MapConfig<T, F, C, C2>
Expand description
Adapt external config argument to a config for provided service factory
Note that this function consumes the receiving service factory and returns a wrapped version of it.