pub enum SecureStoreError {
NoActiveEpoch,
EpochExpired(EpochId),
EpochNotFound(EpochId),
KeyUnavailable(EpochId),
CryptoError(String),
StorageError(String),
}Expand description
Errors returned by secure store operations.
Variants§
NoActiveEpoch
No epoch is currently in the Active state.
EpochExpired(EpochId)
The requested epoch has expired.
EpochNotFound(EpochId)
The requested epoch does not exist.
The key for the requested epoch is unavailable (expired or missing lease).
CryptoError(String)
A cryptographic operation failed.
StorageError(String)
A storage operation failed.
Trait Implementations§
Source§impl Debug for SecureStoreError
impl Debug for SecureStoreError
Source§impl Display for SecureStoreError
impl Display for SecureStoreError
Source§impl PartialEq for SecureStoreError
impl PartialEq for SecureStoreError
impl StructuralPartialEq for SecureStoreError
Auto Trait Implementations§
impl Freeze for SecureStoreError
impl RefUnwindSafe for SecureStoreError
impl Send for SecureStoreError
impl Sync for SecureStoreError
impl Unpin for SecureStoreError
impl UnwindSafe for SecureStoreError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more