Function parse

Source
pub fn parse<P: AsRef<Path>>(
    path: P,
) -> Result<HashMap<String, String>, YAIError>
Expand description

Parse a file, return a name: value mapping.

ยงErrors

  • I/O or text decoding errors from reading the file
  • YAIError parse errors from examining the INI-file structure