Function from_toml_file

Source
pub fn from_toml_file<T, P>(path: P) -> Result<T>
where T: for<'a> Deserialize<'a>, P: AsRef<Path>,
Expand description

Converts from the TOML file to a value of T type.