pub enum AuthorizationError {
InvalidSignature,
InvalidRecoveryId,
RecoveryFailed,
InvalidPublicKey,
}
Expand description
Error type for EIP-7702 authorization signature recovery
Variants§
InvalidSignature
Invalid signature format
InvalidRecoveryId
Invalid recovery ID
RecoveryFailed
Signature recovery failed
InvalidPublicKey
Invalid public key format
Trait Implementations§
Source§impl Clone for AuthorizationError
impl Clone for AuthorizationError
Source§fn clone(&self) -> AuthorizationError
fn clone(&self) -> AuthorizationError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthorizationError
impl Debug for AuthorizationError
Source§impl PartialEq for AuthorizationError
impl PartialEq for AuthorizationError
impl Eq for AuthorizationError
impl StructuralPartialEq for AuthorizationError
Auto Trait Implementations§
impl Freeze for AuthorizationError
impl RefUnwindSafe for AuthorizationError
impl Send for AuthorizationError
impl Sync for AuthorizationError
impl Unpin for AuthorizationError
impl UnwindSafe for AuthorizationError
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