ReadGuard
Module: store::ReadGuard
Section titled “Module: store::ReadGuard”Contents
Section titled “Contents”Functions
load- Reads the saved connection and its secret, orNonewhen there is
firma_connection_store::store::ReadGuard::load
Section titled “firma_connection_store::store::ReadGuard::load”Function
Reads the saved connection and its secret, or None when there is
none.
Errors
Section titled “Errors”Returns [StoreError::CorruptConnection] for an invalid file,
[StoreError::SecretMissing] when its native credential is gone,
[StoreError::PlaintextFileUnsupported] for a file secret outside
Unix, and credential-store or filesystem errors.
fn load(self: &Self) -> Result<Option<SavedConnection>, StoreError>