pub fn load(path: &Path) -> Result<ConfigFile, String>Expand description
Reads the file; if it does not exist, it is an empty file. Unreadable or invalid: the error gives the path.
pub fn load(path: &Path) -> Result<ConfigFile, String>Reads the file; if it does not exist, it is an empty file. Unreadable or invalid: the error gives the path.