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
Auto Trait Implementations
impl RefUnwindSafe for evmc_storage_status
impl Send for evmc_storage_status
impl Sync for evmc_storage_status
impl Unpin for evmc_storage_status
impl UnwindSafe for evmc_storage_status
Blanket Implementations
Mutably borrows from an owned value. Read more