Struct ethcore::trace_types::trace::VMTrace
[−]
[src]
pub struct VMTrace { pub parent_step: usize, pub code: Bytes, pub operations: Vec<VMOperation>, pub subs: Vec<VMTrace>, }
A record of a full VM trace for a CALL/CREATE.
Fields
parent_step: usize
The step (i.e. index into operations) at which this trace corresponds.
code: Bytes
The code to be executed.
operations: Vec<VMOperation>
The operations executed.
subs: Vec<VMTrace>
The sub traces for each interior action performed as part of this call/create. Thre is a 1:1 correspondance between these and a CALL/CREATE/CALLCODE/DELEGATECALL instruction.
Trait Implementations
impl Debug for VMTrace
[src]
impl Clone for VMTrace
[src]
fn clone(&self) -> VMTrace
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for VMTrace
[src]
fn eq(&self, __arg_0: &VMTrace) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VMTrace) -> bool
This method tests for !=
.
impl Default for VMTrace
[src]
impl Encodable for VMTrace
[src]
fn rlp_append(&self, s: &mut RlpStream)
Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
Get rlp-encoded bytes for this instance
impl Decodable for VMTrace
[src]
fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder
Decode a value from RLP bytes