Trait executive_state::ExecutiveState[][src]

pub trait ExecutiveState {
    fn apply(
        &mut self,
        env_info: &EnvInfo,
        mashina: &Machine,
        t: &SignedTransaction,
        tracing: bool
    ) -> ApplyResult<FlatTrace, VMTrace>;
fn apply_with_tracing<V, T>(
        &mut self,
        env_info: &EnvInfo,
        mashina: &Machine,
        t: &SignedTransaction,
        tracer: T,
        vm_tracer: V
    ) -> ApplyResult<T::Output, V::Output>
    where
        T: Tracer,
        V: VMTracer
; }

Collects code that needs a Machine and/or Executive

Required methods

fn apply(
    &mut self,
    env_info: &EnvInfo,
    mashina: &Machine,
    t: &SignedTransaction,
    tracing: bool
) -> ApplyResult<FlatTrace, VMTrace>
[src]

Execute a given transaction, producing a receipt and an optional trace. This will change the state accordingly.

fn apply_with_tracing<V, T>(
    &mut self,
    env_info: &EnvInfo,
    mashina: &Machine,
    t: &SignedTransaction,
    tracer: T,
    vm_tracer: V
) -> ApplyResult<T::Output, V::Output> where
    T: Tracer,
    V: VMTracer
[src]

Execute a given transaction with given tracer and VM tracer producing a receipt and an optional trace. This will change the state accordingly.

Loading content...

Implementations on Foreign Types

impl<B: Backend> ExecutiveState for State<B>[src]

fn apply(
    &mut self,
    env_info: &EnvInfo,
    mashina: &Machine,
    t: &SignedTransaction,
    tracing: bool
) -> ApplyResult<FlatTrace, VMTrace>
[src]

Execute a given transaction, producing a receipt and an optional trace. This will change the state accordingly.

fn apply_with_tracing<V, T>(
    &mut self,
    env_info: &EnvInfo,
    mashina: &Machine,
    t: &SignedTransaction,
    tracer: T,
    vm_tracer: V
) -> ApplyResult<T::Output, V::Output> where
    T: Tracer,
    V: VMTracer
[src]

Execute a given transaction with given tracer and VM tracer producing a receipt and an optional trace. This will change the state accordingly.

Loading content...

Implementors

Loading content...