pub struct UnvalidatedWithdrawals<'a> { /* private fields */ }Expand description
Borrowed withdrawals list decoded only into EIP-4895 field domains.
This type is intentionally unvalidated. It does not prove consensus-layer
dequeue correctness, global index monotonicity, header withdrawals_root
matching, trie-root membership, or state-balance application.
Implementations§
Source§impl<'a> UnvalidatedWithdrawals<'a>
impl<'a> UnvalidatedWithdrawals<'a>
Sourcepub const fn encoded_rlp(self) -> &'a [u8]
pub const fn encoded_rlp(self) -> &'a [u8]
Returns the exact canonical RLP list bytes that were decoded.
Sourcepub const fn entries(self) -> WithdrawalItems<'a> ⓘ
pub const fn entries(self) -> WithdrawalItems<'a> ⓘ
Returns an iterator over decoded withdrawal entries.
Trait Implementations§
Source§impl<'a> Clone for UnvalidatedWithdrawals<'a>
impl<'a> Clone for UnvalidatedWithdrawals<'a>
Source§fn clone(&self) -> UnvalidatedWithdrawals<'a>
fn clone(&self) -> UnvalidatedWithdrawals<'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 UnvalidatedWithdrawals<'a>
Source§impl<'a> Debug for UnvalidatedWithdrawals<'a>
impl<'a> Debug for UnvalidatedWithdrawals<'a>
impl<'a> Eq for UnvalidatedWithdrawals<'a>
Source§impl<'a> PartialEq for UnvalidatedWithdrawals<'a>
impl<'a> PartialEq for UnvalidatedWithdrawals<'a>
Source§fn eq(&self, other: &UnvalidatedWithdrawals<'a>) -> bool
fn eq(&self, other: &UnvalidatedWithdrawals<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for UnvalidatedWithdrawals<'a>
Auto Trait Implementations§
impl<'a> Freeze for UnvalidatedWithdrawals<'a>
impl<'a> RefUnwindSafe for UnvalidatedWithdrawals<'a>
impl<'a> Send for UnvalidatedWithdrawals<'a>
impl<'a> Sync for UnvalidatedWithdrawals<'a>
impl<'a> Unpin for UnvalidatedWithdrawals<'a>
impl<'a> UnsafeUnpin for UnvalidatedWithdrawals<'a>
impl<'a> UnwindSafe for UnvalidatedWithdrawals<'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