Function load

Source
pub fn load(path: &Path) -> Result<Option<Accounts>, StoreError>
Expand description

Read a bounded private account file; initial absence is distinct from malformed data. The opened descriptor is rechecked for regular-file type and private Unix permissions, including device/inode identity on Unix. Disappearance after inspection is an error, so it cannot silently disable authentication.