[][src]Function pbft_engine::config::merge_setting_if_set_and_map

fn merge_setting_if_set_and_map<U, F, T>(
    settings_map: &HashMap<String, String>,
    setting_field: &mut U,
    setting_key: &str,
    map: F
) where
    F: Fn(T) -> U,
    T: FromStr