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,
}

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

impl Clone for evmc_storage_status[src]

impl Copy for evmc_storage_status[src]

impl Debug for evmc_storage_status[src]

impl Eq for evmc_storage_status[src]

impl Hash for evmc_storage_status[src]

impl PartialEq<evmc_storage_status> for evmc_storage_status[src]

impl StructuralEq for evmc_storage_status[src]

impl StructuralPartialEq for evmc_storage_status[src]

Auto Trait Implementations

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.