Skip to main content

read

Function read 

Source
pub fn read(path: &Path) -> Result<Profile, Error>
Expand description

Read a profile from a TOML file at path.

ยงErrors

Returns Error::Io if the file cannot be opened (including NotFound) and Error::Parse if the TOML is malformed.