pub fn parse(name: &str, path: PathBuf, text: &str) -> Result<Profile>Expand description
A profile from its text.
§Errors
Error::ProfileYaml for text that isn’t YAML or a field a profile doesn’t have,
Error::ProfileMapping for a spec or defaults that isn’t a mapping, and
Error::ProfileInput for an input that isn’t one value.