Enum evm_state::Apply[][src]

pub enum Apply<I> {
    Modify {
        address: H160,
        basic: Basic,
        code: Option<Vec<u8, Global>>,
        storage: I,
        reset_storage: bool,
    },
    Delete {
        address: H160,
    },
}

Apply state operation.

Variants

Modify

Modify or create at address.

Fields of Modify

address: H160

Address.

basic: Basic

Basic information of the address.

code: Option<Vec<u8, Global>>

Code. None means leaving it unchanged.

storage: I

Storage iterator.

reset_storage: bool

Whether storage should be wiped empty before applying the storage iterator.

Delete

Delete address.

Fields of Delete

address: H160

Address.

Trait Implementations

impl<I> Clone for Apply<I> where
    I: Clone
[src]

impl<I> Debug for Apply<I> where
    I: Debug
[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for Apply<I> where
    I: RefUnwindSafe

impl<I> Send for Apply<I> where
    I: Send

impl<I> Sync for Apply<I> where
    I: Sync

impl<I> Unpin for Apply<I> where
    I: Unpin

impl<I> UnwindSafe for Apply<I> where
    I: UnwindSafe

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> MaybeDebug for T where
    T: Debug
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]