Enum ssvm_evmc_sys::evmc_storage_status[][src]

#[repr(u32)]
pub enum evmc_storage_status {
    EVMC_STORAGE_UNCHANGED,
    EVMC_STORAGE_MODIFIED,
    EVMC_STORAGE_MODIFIED_AGAIN,
    EVMC_STORAGE_ADDED,
    EVMC_STORAGE_DELETED,
}
Expand description

The effect of an attempt to modify a contract storage item.

For the purpose of explaining the meaning of each element, the following notation is used:

  • 0 is zero value,
  • X != 0 (X is any value other than 0),
  • Y != X, Y != 0 (Y is any value other than X and 0),
  • Z != Y (Z is any value other than Y),
  • the “->” means the change from one value to another.

Variants

EVMC_STORAGE_UNCHANGED

The value of a storage item has been left unchanged: 0 -> 0 and X -> X.

EVMC_STORAGE_MODIFIED

The value of a storage item has been modified: X -> Y.

EVMC_STORAGE_MODIFIED_AGAIN

A storage item has been modified after being modified before: X -> Y -> Z.

EVMC_STORAGE_ADDED

A new storage item has been added: 0 -> X.

EVMC_STORAGE_DELETED

A storage item has been deleted: X -> 0.

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.