Skip to main content

load

Function load 

Source
pub fn load<T: Default + DeserializeOwned>(path: &Path) -> Result<T>
Expand description

The settings at path, or the defaults when there is no file.

ยงErrors

When the file cannot be read or does not parse.