Searched refs:from_str (Results 1 – 3 of 3) sorted by relevance
175 let decoded_config = toml::from_str(&content[..]).unwrap(); in load()194 let decoded: Config = toml::from_str(&val[..]).unwrap(); in test_toml_parse()
171 Some(Rotate::from_str(&file_info.rotate).unwrap()), in main()
30 fn from_str(input: &str) -> Result<Rotate, Self::Err> { in from_str() method