pub struct Opcode(pub u8);
Expand description
Opcode enum. One-to-one corresponding to an u8
value.
Tuple Fields§
§0: u8
Implementations§
Source§impl Opcode
impl Opcode
Sourcepub const SIGNEXTEND: Opcode
pub const SIGNEXTEND: Opcode
SIGNEXTEND
Sourcepub const CALLDATALOAD: Opcode
pub const CALLDATALOAD: Opcode
CALLDATALOAD
Sourcepub const CALLDATASIZE: Opcode
pub const CALLDATASIZE: Opcode
CALLDATASIZE
Sourcepub const CALLDATACOPY: Opcode
pub const CALLDATACOPY: Opcode
CALLDATACOPY
Source§impl Opcode
impl Opcode
Sourcepub const EXTCODESIZE: Opcode
pub const EXTCODESIZE: Opcode
EXTCODESIZE
Sourcepub const EXTCODECOPY: Opcode
pub const EXTCODECOPY: Opcode
EXTCODECOPY
Sourcepub const RETURNDATASIZE: Opcode
pub const RETURNDATASIZE: Opcode
RETURNDATASIZE
Sourcepub const RETURNDATACOPY: Opcode
pub const RETURNDATACOPY: Opcode
RETURNDATACOPY
Sourcepub const EXTCODEHASH: Opcode
pub const EXTCODEHASH: Opcode
EXTCODEHASH
Sourcepub const DIFFICULTY: Opcode
pub const DIFFICULTY: Opcode
DIFFICULTY
Sourcepub const SELFBALANCE: Opcode
pub const SELFBALANCE: Opcode
SELFBALANCE
Sourcepub const BLOBBASEFEE: Opcode
pub const BLOBBASEFEE: Opcode
BLOBBASEFEE
Sourcepub const DELEGATECALL: Opcode
pub const DELEGATECALL: Opcode
DELEGATECALL
Sourcepub const STATICCALL: Opcode
pub const STATICCALL: Opcode
STATICCALL
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Opcode
impl<'de> Deserialize<'de> for Opcode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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§impl<T> TrapConsume<T> for T
impl<T> TrapConsume<T> for T
Source§type Rest = Infallible
type Rest = Infallible
Rest type.
Source§fn consume(self) -> Result<T, Infallible>
fn consume(self) -> Result<T, Infallible>
Consume
T
to get Rest
.