[][src]Enum evmc_sys::evmc_capabilities

#[repr(u32)]pub enum evmc_capabilities {
    EVMC_CAPABILITY_EVM1,
    EVMC_CAPABILITY_EWASM,
    EVMC_CAPABILITY_PRECOMPILES,
}

Possible capabilities of a VM.

Variants

EVMC_CAPABILITY_EVM1

The VM is capable of executing EVM1 bytecode.

EVMC_CAPABILITY_EWASM

The VM is capable of executing ewasm bytecode.

EVMC_CAPABILITY_PRECOMPILES

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

impl Clone for evmc_capabilities[src]

impl Copy for evmc_capabilities[src]

impl Debug for evmc_capabilities[src]

impl Eq for evmc_capabilities[src]

impl Hash for evmc_capabilities[src]

impl PartialEq<evmc_capabilities> for evmc_capabilities[src]

impl StructuralEq for evmc_capabilities[src]

impl StructuralPartialEq for evmc_capabilities[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.