Skip to main content

read_yaml_file

Function read_yaml_file 

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

Reads and parses a YAML file.

ยงErrors

Returns an error if the file cannot be read or parsed as valid YAML.