[][src]Enum evmc_sys::evmc_revision

#[repr(u32)]pub enum evmc_revision {
    EVMC_FRONTIER,
    EVMC_HOMESTEAD,
    EVMC_TANGERINE_WHISTLE,
    EVMC_SPURIOUS_DRAGON,
    EVMC_BYZANTIUM,
    EVMC_CONSTANTINOPLE,
    EVMC_PETERSBURG,
    EVMC_ISTANBUL,
    EVMC_BERLIN,
}

EVM revision.

The revision of the EVM specification based on the Ethereum upgrade / hard fork codenames.

Variants

EVMC_FRONTIER

The Frontier revision.

The one Ethereum launched with.

EVMC_HOMESTEAD

The Homestead revision.

https://eips.ethereum.org/EIPS/eip-606

EVMC_TANGERINE_WHISTLE

The Tangerine Whistle revision.

https://eips.ethereum.org/EIPS/eip-608

EVMC_SPURIOUS_DRAGON

The Spurious Dragon revision.

https://eips.ethereum.org/EIPS/eip-607

EVMC_BYZANTIUM

The Byzantium revision.

https://eips.ethereum.org/EIPS/eip-609

EVMC_CONSTANTINOPLE

The Constantinople revision.

https://eips.ethereum.org/EIPS/eip-1013

EVMC_PETERSBURG

The Petersburg revision.

Other names: Constantinople2, ConstantinopleFix.

https://eips.ethereum.org/EIPS/eip-1716

EVMC_ISTANBUL

The Istanbul revision.

The spec draft: https://eips.ethereum.org/EIPS/eip-1679.

EVMC_BERLIN

The Berlin revision.

The spec draft: https://eips.ethereum.org/EIPS/eip-2070.

Implementations

impl evmc_revision[src]

pub const EVMC_MAX_REVISION: evmc_revision[src]

Trait Implementations

impl Clone for evmc_revision[src]

impl Copy for evmc_revision[src]

impl Debug for evmc_revision[src]

impl Eq for evmc_revision[src]

impl Hash for evmc_revision[src]

impl PartialEq<evmc_revision> for evmc_revision[src]

impl StructuralEq for evmc_revision[src]

impl StructuralPartialEq for evmc_revision[src]

Auto Trait Implementations

impl RefUnwindSafe for evmc_revision

impl Send for evmc_revision

impl Sync for evmc_revision

impl Unpin for evmc_revision

impl UnwindSafe for evmc_revision

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.