pub fn instance_apply<T: 'static, R, F: FnOnce(&Configuration<T>) -> R>(
    id: &Identifier,
    f: F
) -> Result<R>
Expand description

instance_apply is a very generic function which applies the given function to the configuration singleton matching the given identifier. It is an error if the identifier is unrecognized, or if the given callback operates on a Configuration of the wrong type.