#[non_exhaustive]pub enum SetCodeAuthorizationValidationError {
SigningHash(TransactionSigningHashError),
InvalidSignature,
WrongAuthority,
}Expand description
EIP-7702 authorization tuple signature validation failure.
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.
SigningHash(TransactionSigningHashError)
Authorization signing-hash construction failed before recovery.
InvalidSignature
Signature scalar, y-parity, or public-key recovery failed.
WrongAuthority
The recovered authority does not match the expected account.
Implementations§
Trait Implementations§
Source§impl Clone for SetCodeAuthorizationValidationError
impl Clone for SetCodeAuthorizationValidationError
Source§fn clone(&self) -> SetCodeAuthorizationValidationError
fn clone(&self) -> SetCodeAuthorizationValidationError
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 SetCodeAuthorizationValidationError
impl Eq for SetCodeAuthorizationValidationError
Source§impl PartialEq for SetCodeAuthorizationValidationError
impl PartialEq for SetCodeAuthorizationValidationError
Source§fn eq(&self, other: &SetCodeAuthorizationValidationError) -> bool
fn eq(&self, other: &SetCodeAuthorizationValidationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetCodeAuthorizationValidationError
Auto Trait Implementations§
impl Freeze for SetCodeAuthorizationValidationError
impl RefUnwindSafe for SetCodeAuthorizationValidationError
impl Send for SetCodeAuthorizationValidationError
impl Sync for SetCodeAuthorizationValidationError
impl Unpin for SetCodeAuthorizationValidationError
impl UnsafeUnpin for SetCodeAuthorizationValidationError
impl UnwindSafe for SetCodeAuthorizationValidationError
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