Enum ssvm_evmc_sys::evmc_revision[][src]

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

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.

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.