#[non_exhaustive]pub enum CheckpointIntegrityError {
StateCanonicalization {
source: CanonicalJsonError,
},
CanonicalSerialization,
}Expand description
Failure to produce a domain-separated checkpoint checksum.
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.
StateCanonicalization
State JSON was outside the RFC 8785 interoperable domain.
Fields
§
source: CanonicalJsonErrorExact canonical JSON failure.
CanonicalSerialization
Canonical serialization of a closed typed checksum preimage failed.
Trait Implementations§
Source§impl Clone for CheckpointIntegrityError
impl Clone for CheckpointIntegrityError
Source§impl Debug for CheckpointIntegrityError
impl Debug for CheckpointIntegrityError
Source§impl Display for CheckpointIntegrityError
impl Display for CheckpointIntegrityError
impl Eq for CheckpointIntegrityError
Source§impl Error for CheckpointIntegrityError
impl Error for CheckpointIntegrityError
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 CheckpointIntegrityError
impl PartialEq for CheckpointIntegrityError
impl StructuralPartialEq for CheckpointIntegrityError
Auto Trait Implementations§
impl Forget for CheckpointIntegrityError
impl Freeze for CheckpointIntegrityError
impl Move for CheckpointIntegrityError
impl RefUnwindSafe for CheckpointIntegrityError
impl Send for CheckpointIntegrityError
impl Sync for CheckpointIntegrityError
impl Unpin for CheckpointIntegrityError
impl UnsafeUnpin for CheckpointIntegrityError
impl UnwindSafe for CheckpointIntegrityError
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