pub fn read(path: &Path) -> Result<Profile, Error>
Read a profile from a TOML file at path.
path
Returns Error::Io if the file cannot be opened (including NotFound) and Error::Parse if the TOML is malformed.
Error::Io
NotFound
Error::Parse