Function tomlconv::from_toml_file [] [src]

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

Converts from the TOML file to an instance of T.