Struct ethcore::trace::NoopVMTracer  [−][src]
pub struct NoopVMTracer;
Nonoperative VM tracer. Does not trace anything.
Trait Implementations
impl VMTracer for NoopVMTracer[src] 
impl VMTracer for NoopVMTracertype Output = VMTrace
Data returned when draining the VMTracer.
fn trace_next_instruction(
    &mut self, 
    _pc: usize, 
    _instruction: u8, 
    _current_gas: U256
) -> bool[src] 
fn trace_next_instruction(
    &mut self, 
    _pc: usize, 
    _instruction: u8, 
    _current_gas: U256
) -> boolTrace the progression of interpreter to next instruction. If tracer returns false it won't be called again. @returns true if trace_prepare_execute and trace_executed should be called. Read more
fn trace_prepare_execute(
    &mut self, 
    _pc: usize, 
    _instruction: u8, 
    _gas_cost: U256
)[src] 
fn trace_prepare_execute(
    &mut self, 
    _pc: usize, 
    _instruction: u8, 
    _gas_cost: U256
)Trace the preparation to execute a single valid instruction.
fn trace_executed(
    &mut self, 
    _gas_used: U256, 
    _stack_push: &[U256], 
    _mem_diff: Option<(usize, &[u8])>, 
    _store_diff: Option<(U256, U256)>
)[src] 
fn trace_executed(
    &mut self, 
    _gas_used: U256, 
    _stack_push: &[U256], 
    _mem_diff: Option<(usize, &[u8])>, 
    _store_diff: Option<(U256, U256)>
)Trace the finalised execution of a single valid instruction.
fn prepare_subtrace(&self, _code: &[u8]) -> Self[src] 
fn prepare_subtrace(&self, _code: &[u8]) -> SelfSpawn subtracer which will be used to trace deeper levels of execution.
fn done_subtrace(&mut self, _sub: Self)[src] 
fn done_subtrace(&mut self, _sub: Self)Finalize subtracer.
fn drain(self) -> Option<VMTrace>[src] 
fn drain(self) -> Option<VMTrace>Consumes self and returns the VM trace.
Auto Trait Implementations
impl Send for NoopVMTracer
impl Send for NoopVMTracerimpl Sync for NoopVMTracer
impl Sync for NoopVMTracer