pub fn to_yaml<P: AsRef<Path>>(attrs: &Attrs, path: P) -> Result<(), Error>
Save configuration to a YAML file