pub fn load<T: Default + DeserializeOwned>(path: &Path) -> Result<T>
The settings at path, or the defaults when there is no file.
path
When the file cannot be read or does not parse.