pub enum EnigmaStorageError {
InvalidKey,
CryptoError(String),
AeadError,
BackendError(String),
KeyProviderError(String),
KdfError(String),
CorruptedData,
UnsupportedVersion,
PlatformUnavailable(String),
PermissionDenied,
}Variants§
InvalidKey
CryptoError(String)
AeadError
BackendError(String)
KeyProviderError(String)
KdfError(String)
CorruptedData
UnsupportedVersion
PermissionDenied
Trait Implementations§
Source§impl Debug for EnigmaStorageError
impl Debug for EnigmaStorageError
Source§impl Display for EnigmaStorageError
impl Display for EnigmaStorageError
Source§impl Error for EnigmaStorageError
impl Error for EnigmaStorageError
1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for EnigmaStorageError
impl From<Error> for EnigmaStorageError
Auto Trait Implementations§
impl Freeze for EnigmaStorageError
impl RefUnwindSafe for EnigmaStorageError
impl Send for EnigmaStorageError
impl Sync for EnigmaStorageError
impl Unpin for EnigmaStorageError
impl UnwindSafe for EnigmaStorageError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more