pub enum AppStateError {
Show 16 variants
MissingPreviousSetValueOperation,
MismatchingLTHash,
MismatchingPatchMAC,
MismatchingContentMAC,
MismatchingIndexMAC,
KeyNotFound,
MissingValueBlob,
ValueBlobTooShort,
DecryptionFailed,
DecodeFailed,
MissingIndexMAC,
MissingKeyId,
SnapshotMACMismatch,
PatchSnapshotMACMismatch,
PatchMACMismatch,
PatchVersionMismatch {
expected: u64,
got: u64,
},
}Variants§
MissingPreviousSetValueOperation
MismatchingLTHash
MismatchingPatchMAC
MismatchingContentMAC
MismatchingIndexMAC
KeyNotFound
MissingValueBlob
ValueBlobTooShort
DecryptionFailed
DecodeFailed
MissingIndexMAC
MissingKeyId
SnapshotMACMismatch
PatchSnapshotMACMismatch
PatchMACMismatch
PatchVersionMismatch
Trait Implementations§
Source§impl Debug for AppStateError
impl Debug for AppStateError
Source§impl Display for AppStateError
impl Display for AppStateError
Source§impl Error for AppStateError
impl Error for AppStateError
1.30.0 · Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AppStateError
impl RefUnwindSafe for AppStateError
impl Send for AppStateError
impl Sync for AppStateError
impl Unpin for AppStateError
impl UnsafeUnpin for AppStateError
impl UnwindSafe for AppStateError
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