Struct evm::executor::MemoryStackState[][src]

pub struct MemoryStackState<'backend, 'config, B> { /* fields omitted */ }

Implementations

impl<'backend, 'config, B: Backend> MemoryStackState<'backend, 'config, B>[src]

pub fn new(
    metadata: StackSubstateMetadata<'config>,
    backend: &'backend B
) -> Self
[src]

#[must_use]pub fn deconstruct(
    self
) -> (impl IntoIterator<Item = Apply<impl IntoIterator<Item = (H256, H256)>>>, impl IntoIterator<Item = Log>)
[src]

pub fn withdraw(&mut self, address: H160, value: U256) -> Result<(), ExitError>[src]

pub fn deposit(&mut self, address: H160, value: U256)[src]

Trait Implementations

impl<'backend, 'config, B: Backend> Backend for MemoryStackState<'backend, 'config, B>[src]

impl<'backend, 'config, B: Backend> StackState<'config> for MemoryStackState<'backend, 'config, B>[src]

Auto Trait Implementations

impl<'backend, 'config, B> RefUnwindSafe for MemoryStackState<'backend, 'config, B> where
    B: RefUnwindSafe

impl<'backend, 'config, B> Send for MemoryStackState<'backend, 'config, B> where
    B: Sync

impl<'backend, 'config, B> Sync for MemoryStackState<'backend, 'config, B> where
    B: Sync

impl<'backend, 'config, B> Unpin for MemoryStackState<'backend, 'config, B>

impl<'backend, 'config, B> UnwindSafe for MemoryStackState<'backend, 'config, B> where
    B: RefUnwindSafe

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> Same<T> for T[src]

type Output = T

Should always be Self

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]