#[non_exhaustive]pub enum CheckpointStateError {
Integrity {
source: CheckpointIntegrityError,
},
DigestMismatch,
}Expand description
Invalid or corrupted checkpoint state.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Integrity
Integrity material could not be canonicalized.
Fields
§
source: CheckpointIntegrityErrorUnderlying integrity failure.
DigestMismatch
The persisted checksum did not match state fields.
Trait Implementations§
Source§impl Clone for CheckpointStateError
impl Clone for CheckpointStateError
Source§impl Debug for CheckpointStateError
impl Debug for CheckpointStateError
Source§impl Display for CheckpointStateError
impl Display for CheckpointStateError
impl Eq for CheckpointStateError
Source§impl Error for CheckpointStateError
impl Error for CheckpointStateError
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()
Source§impl PartialEq for CheckpointStateError
impl PartialEq for CheckpointStateError
impl StructuralPartialEq for CheckpointStateError
Auto Trait Implementations§
impl Forget for CheckpointStateError
impl Freeze for CheckpointStateError
impl Move for CheckpointStateError
impl RefUnwindSafe for CheckpointStateError
impl Send for CheckpointStateError
impl Sync for CheckpointStateError
impl Unpin for CheckpointStateError
impl UnsafeUnpin for CheckpointStateError
impl UnwindSafe for CheckpointStateError
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