pub fn load_config_file<T, P>(config_file: P) -> Result<T, Error>
Expand description
Load a value from a file in YAML format.
Despite the name, this function is generic YAML file deserializer, a thin wrapper around serde.
Most callers should instead use Config::load
.
ยงErrors
This function may return typical file I/O errors.