pub enum SetCodeAuthorityCode {
Empty,
Delegation {
target: Address,
},
Other,
}Expand description
Caller-reviewed authority account code state.
Variants§
Empty
The authority account has no code.
Delegation
The authority account already contains an EIP-7702 delegation indicator.
This crate does not inspect account bytecode or verify the
EIP_7702_DELEGATION_INDICATOR_PREFIX itself. The Delegation
classification is caller-trusted account-state input.
Other
The authority account contains non-delegation code.
Trait Implementations§
Source§impl Clone for SetCodeAuthorityCode
impl Clone for SetCodeAuthorityCode
Source§fn clone(&self) -> SetCodeAuthorityCode
fn clone(&self) -> SetCodeAuthorityCode
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 SetCodeAuthorityCode
Source§impl Debug for SetCodeAuthorityCode
impl Debug for SetCodeAuthorityCode
impl Eq for SetCodeAuthorityCode
Source§impl PartialEq for SetCodeAuthorityCode
impl PartialEq for SetCodeAuthorityCode
Source§fn eq(&self, other: &SetCodeAuthorityCode) -> bool
fn eq(&self, other: &SetCodeAuthorityCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetCodeAuthorityCode
Auto Trait Implementations§
impl Freeze for SetCodeAuthorityCode
impl RefUnwindSafe for SetCodeAuthorityCode
impl Send for SetCodeAuthorityCode
impl Sync for SetCodeAuthorityCode
impl Unpin for SetCodeAuthorityCode
impl UnsafeUnpin for SetCodeAuthorityCode
impl UnwindSafe for SetCodeAuthorityCode
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