#[non_exhaustive]pub enum PendingNodeResultIntegrityError {
PayloadCanonicalization {
source: CanonicalJsonError,
},
CanonicalSerialization,
}Expand description
Failure to canonicalize pending node-result integrity material.
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.
PayloadCanonicalization
A schema-pinned payload was not RFC 8785 interoperable.
Fields
§
source: CanonicalJsonErrorExact canonical JSON failure.
CanonicalSerialization
A closed typed checksum preimage could not be canonicalized.
Trait Implementations§
impl Eq for PendingNodeResultIntegrityError
Source§impl Error for PendingNodeResultIntegrityError
impl Error for PendingNodeResultIntegrityError
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 From<PendingNodeResultIntegrityError> for PendingNodeResultIntentError
impl From<PendingNodeResultIntegrityError> for PendingNodeResultIntentError
Source§fn from(source: PendingNodeResultIntegrityError) -> Self
fn from(source: PendingNodeResultIntegrityError) -> Self
Converts to this type from the input type.
Source§impl From<PendingNodeResultIntegrityError> for PendingNodeResultError
impl From<PendingNodeResultIntegrityError> for PendingNodeResultError
Source§fn from(source: PendingNodeResultIntegrityError) -> Self
fn from(source: PendingNodeResultIntegrityError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for PendingNodeResultIntegrityError
Auto Trait Implementations§
impl Forget for PendingNodeResultIntegrityError
impl Freeze for PendingNodeResultIntegrityError
impl Move for PendingNodeResultIntegrityError
impl RefUnwindSafe for PendingNodeResultIntegrityError
impl Send for PendingNodeResultIntegrityError
impl Sync for PendingNodeResultIntegrityError
impl Unpin for PendingNodeResultIntegrityError
impl UnsafeUnpin for PendingNodeResultIntegrityError
impl UnwindSafe for PendingNodeResultIntegrityError
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