#[repr(u8)]pub enum OpTxType {
Legacy = 0,
Eip2930 = 1,
Eip1559 = 2,
Eip7702 = 4,
Deposit = 126,
}
Expand description
Optimism TransactionType
flags as specified in EIPs 2718, 1559, and
2930, as well as the deposit transaction spec
Variants§
Legacy = 0
Legacy transaction type.
Eip2930 = 1
EIP-2930 transaction type.
Eip1559 = 2
EIP-1559 transaction type.
Eip7702 = 4
EIP-7702 transaction type.
Deposit = 126
Optimism Deposit transaction type.
Implementations§
Trait Implementations§
Source§impl Ord for OpTxType
impl Ord for OpTxType
Source§impl PartialOrd for OpTxType
impl PartialOrd for OpTxType
impl Copy for OpTxType
impl Eq for OpTxType
impl StructuralPartialEq for OpTxType
Auto Trait Implementations§
impl Freeze for OpTxType
impl RefUnwindSafe for OpTxType
impl Send for OpTxType
impl Sync for OpTxType
impl Unpin for OpTxType
impl UnwindSafe for OpTxType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)