load

Function load 

Source
pub fn load<F: FromPath, P: AsRef<Path>>(path: P) -> Result<F, F::Error>
Expand description

Loads the value of the given type from the given path.

ยงErrors

Returns Error when loading fails.