Enum evm::backend::Apply[][src]

pub enum Apply<I> {
    Modify {
        address: H160,
        basic: Basic,
        code: Option<Vec<u8>>,
        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>>

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> Clone for Apply<I>[src]

impl<I: Debug> Debug for Apply<I>[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]