pub fn init_from_yaml<P: AsRef<Path>>(path: P) -> Result<(), Error>Expand description
Initialize the global configuration from a YAML file.
Loads values from the specified YAML file and installs them as the
Source::File layer. During resolution, File is consulted after
TestOverride, Env, and Runtime layers, and before ClientOverride
and defaults.
Typically invoked once at process startup to provide a baseline configuration. Repeated calls replace the existing File layer.