#[non_exhaustive]pub enum TransactionSignatureValidationErrorCategory {
ReplayDomain,
SigningHash,
Signature,
}Expand description
Stable high-level decoded transaction signature validation categories.
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.
ReplayDomain
Replay-domain or chain binding failure.
SigningHash
Signing preimage or hash construction failure.
Signature
Signature representation, recovery, or sender-match failure.
Trait Implementations§
Source§impl Clone for TransactionSignatureValidationErrorCategory
impl Clone for TransactionSignatureValidationErrorCategory
Source§fn clone(&self) -> TransactionSignatureValidationErrorCategory
fn clone(&self) -> TransactionSignatureValidationErrorCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransactionSignatureValidationErrorCategory
impl Eq for TransactionSignatureValidationErrorCategory
Source§impl PartialEq for TransactionSignatureValidationErrorCategory
impl PartialEq for TransactionSignatureValidationErrorCategory
Source§fn eq(&self, other: &TransactionSignatureValidationErrorCategory) -> bool
fn eq(&self, other: &TransactionSignatureValidationErrorCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransactionSignatureValidationErrorCategory
Auto Trait Implementations§
impl Freeze for TransactionSignatureValidationErrorCategory
impl RefUnwindSafe for TransactionSignatureValidationErrorCategory
impl Send for TransactionSignatureValidationErrorCategory
impl Sync for TransactionSignatureValidationErrorCategory
impl Unpin for TransactionSignatureValidationErrorCategory
impl UnsafeUnpin for TransactionSignatureValidationErrorCategory
impl UnwindSafe for TransactionSignatureValidationErrorCategory
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