pub enum TransactionEnvelope<'a> {
Legacy(RlpList<'a>),
Typed(TypedTransactionEnvelope<'a>),
}Expand description
Borrowed transaction envelope shell.
This type classifies the outer transaction envelope only. It does not decode legacy fields, typed transaction payloads, signatures, sender addresses, or fork validity.
Variants§
Legacy(RlpList<'a>)
A legacy transaction represented as one exact RLP list.
Typed(TypedTransactionEnvelope<'a>)
An EIP-2718 typed transaction with an opaque payload.
Trait Implementations§
Source§impl<'a> Clone for TransactionEnvelope<'a>
impl<'a> Clone for TransactionEnvelope<'a>
Source§fn clone(&self) -> TransactionEnvelope<'a>
fn clone(&self) -> TransactionEnvelope<'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 TransactionEnvelope<'a>
Source§impl<'a> Debug for TransactionEnvelope<'a>
impl<'a> Debug for TransactionEnvelope<'a>
impl<'a> Eq for TransactionEnvelope<'a>
Source§impl<'a> PartialEq for TransactionEnvelope<'a>
impl<'a> PartialEq for TransactionEnvelope<'a>
Source§fn eq(&self, other: &TransactionEnvelope<'a>) -> bool
fn eq(&self, other: &TransactionEnvelope<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for TransactionEnvelope<'a>
Auto Trait Implementations§
impl<'a> Freeze for TransactionEnvelope<'a>
impl<'a> RefUnwindSafe for TransactionEnvelope<'a>
impl<'a> Send for TransactionEnvelope<'a>
impl<'a> Sync for TransactionEnvelope<'a>
impl<'a> Unpin for TransactionEnvelope<'a>
impl<'a> UnsafeUnpin for TransactionEnvelope<'a>
impl<'a> UnwindSafe for TransactionEnvelope<'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