Function yaml_from_str

Source
pub fn yaml_from_str<T: DeserializeOwned>(yaml: &str) -> Result<T, YamlError>