pub struct SetCodeAuthorizationList<'a> { /* private fields */ }Expand description
Borrowed EIP-7702 authorization list.
Implementations§
Source§impl<'a> SetCodeAuthorizationList<'a>
impl<'a> SetCodeAuthorizationList<'a>
Sourcepub const fn is_empty(self) -> bool
pub const fn is_empty(self) -> bool
Returns true when the list is empty.
EIP-7702 execution validation requires at least one authorization tuple. This syntactic decoder intentionally leaves that fork-validity check to a later validation state.
Returns an iterator over authorization tuples.
The transaction decoder validates every tuple before returning this borrowed model. Iterating re-parses the same bounded RLP bytes so callers can use zero-copy access without storing decoded authorizations.
Trait Implementations§
Source§impl<'a> Clone for SetCodeAuthorizationList<'a>
impl<'a> Clone for SetCodeAuthorizationList<'a>
Source§fn clone(&self) -> SetCodeAuthorizationList<'a>
fn clone(&self) -> SetCodeAuthorizationList<'a>
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<'a> Copy for SetCodeAuthorizationList<'a>
Source§impl<'a> Debug for SetCodeAuthorizationList<'a>
impl<'a> Debug for SetCodeAuthorizationList<'a>
impl<'a> Eq for SetCodeAuthorizationList<'a>
Source§impl<'a> PartialEq for SetCodeAuthorizationList<'a>
impl<'a> PartialEq for SetCodeAuthorizationList<'a>
Source§fn eq(&self, other: &SetCodeAuthorizationList<'a>) -> bool
fn eq(&self, other: &SetCodeAuthorizationList<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for SetCodeAuthorizationList<'a>
Auto Trait Implementations§
impl<'a> Freeze for SetCodeAuthorizationList<'a>
impl<'a> RefUnwindSafe for SetCodeAuthorizationList<'a>
impl<'a> Send for SetCodeAuthorizationList<'a>
impl<'a> Sync for SetCodeAuthorizationList<'a>
impl<'a> Unpin for SetCodeAuthorizationList<'a>
impl<'a> UnsafeUnpin for SetCodeAuthorizationList<'a>
impl<'a> UnwindSafe for SetCodeAuthorizationList<'a>
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