#[repr(u32)]pub enum evmc_capabilities {
EVMC_CAPABILITY_EVM1 = 1,
EVMC_CAPABILITY_EWASM = 2,
EVMC_CAPABILITY_PRECOMPILES = 4,
}Expand description
Possible capabilities of a VM.
Variants§
EVMC_CAPABILITY_EVM1 = 1
The VM is capable of executing EVM1 bytecode.
EVMC_CAPABILITY_EWASM = 2
The VM is capable of executing ewasm bytecode.
EVMC_CAPABILITY_PRECOMPILES = 4
The VM is capable of executing the precompiled contracts defined for the range of destination addresses.
The EIP-1352 (https://eips.ethereum.org/EIPS/eip-1352) specifies the range 0x000…0000 - 0x000…ffff of addresses reserved for precompiled and system contracts.
This capability is experimental and MAY be removed without notice.
Trait Implementations§
Source§impl Clone for evmc_capabilities
impl Clone for evmc_capabilities
Source§fn clone(&self) -> evmc_capabilities
fn clone(&self) -> evmc_capabilities
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for evmc_capabilities
impl Debug for evmc_capabilities
Source§impl Hash for evmc_capabilities
impl Hash for evmc_capabilities
Source§impl PartialEq for evmc_capabilities
impl PartialEq for evmc_capabilities
impl Copy for evmc_capabilities
impl Eq for evmc_capabilities
impl StructuralPartialEq for evmc_capabilities
Auto Trait Implementations§
impl Freeze for evmc_capabilities
impl RefUnwindSafe for evmc_capabilities
impl Send for evmc_capabilities
impl Sync for evmc_capabilities
impl Unpin for evmc_capabilities
impl UnwindSafe for evmc_capabilities
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