#[non_exhaustive]pub enum NodeAttemptIntegrityError {
CanonicalSerialization,
}Expand description
Failure to canonicalize node-attempt 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.
CanonicalSerialization
A closed typed checksum preimage could not be canonicalized.
Trait Implementations§
Source§impl Clone for NodeAttemptIntegrityError
impl Clone for NodeAttemptIntegrityError
Source§impl Debug for NodeAttemptIntegrityError
impl Debug for NodeAttemptIntegrityError
Source§impl Display for NodeAttemptIntegrityError
impl Display for NodeAttemptIntegrityError
impl Eq for NodeAttemptIntegrityError
Source§impl Error for NodeAttemptIntegrityError
impl Error for NodeAttemptIntegrityError
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()
Source§impl From<NodeAttemptIntegrityError> for NodeAttemptError
impl From<NodeAttemptIntegrityError> for NodeAttemptError
Source§fn from(source: NodeAttemptIntegrityError) -> Self
fn from(source: NodeAttemptIntegrityError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for NodeAttemptIntegrityError
Auto Trait Implementations§
impl Forget for NodeAttemptIntegrityError
impl Freeze for NodeAttemptIntegrityError
impl Move for NodeAttemptIntegrityError
impl RefUnwindSafe for NodeAttemptIntegrityError
impl Send for NodeAttemptIntegrityError
impl Sync for NodeAttemptIntegrityError
impl Unpin for NodeAttemptIntegrityError
impl UnsafeUnpin for NodeAttemptIntegrityError
impl UnwindSafe for NodeAttemptIntegrityError
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