[][src]Struct evm::executors::memory::Executor

pub struct Executor<'ostate, 'vicinity, 'gconfig> { /* fields omitted */ }

Methods

impl<'ostate, 'vicinity, 'gconfig> Executor<'ostate, 'vicinity, 'gconfig>[src]

pub fn new(
    original_state: &'ostate HashMap<H160, Account>,
    vicinity: &'vicinity Vicinity,
    gas_limit: usize,
    gasometer_config: &'gconfig Config
) -> Self
[src]

pub fn execute(&mut self, runtime: &mut Runtime) -> ExitReason[src]

pub fn gas(&self) -> usize[src]

pub fn state(&self) -> &HashMap<H160, Account>[src]

pub fn finalize(&mut self)[src]

pub fn nonce(&self, address: H160) -> U256[src]

Trait Implementations

impl<'ostate, 'vicinity, 'gconfig> Handler for Executor<'ostate, 'vicinity, 'gconfig>[src]

type CreateInterrupt = Infallible

type CreateFeedback = Infallible

type CallInterrupt = Infallible

type CallFeedback = Infallible

Auto Trait Implementations

impl<'ostate, 'vicinity, 'gconfig> Send for Executor<'ostate, 'vicinity, 'gconfig>

impl<'ostate, 'vicinity, 'gconfig> Sync for Executor<'ostate, 'vicinity, 'gconfig>

impl<'ostate, 'vicinity, 'gconfig> Unpin for Executor<'ostate, 'vicinity, 'gconfig>

impl<'ostate, 'vicinity, 'gconfig> UnwindSafe for Executor<'ostate, 'vicinity, 'gconfig>

impl<'ostate, 'vicinity, 'gconfig> RefUnwindSafe for Executor<'ostate, 'vicinity, 'gconfig>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self