Struct ethcore::trace::FlatTrace
[−]
[src]
pub struct FlatTrace {
pub action: Action,
pub result: Res,
pub subtraces: usize,
pub trace_address: VecDeque<usize>,
}Trace localized in vector of traces produced by a single transaction.
Parent and children indexes refer to positions in this vector.
Fields
action: Action
Type of action performed by a transaction.
result: Res
Result of this action.
subtraces: usize
Number of subtraces.
trace_address: VecDeque<usize>
Exact location of trace.
[index in root, index in first CALL, index in second CALL, ...]
Methods
impl FlatTrace[src]
impl FlatTraceTrait Implementations
impl Debug for FlatTrace[src]
impl Debug for FlatTracefn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for FlatTrace[src]
impl PartialEq for FlatTracefn eq(&self, __arg_0: &FlatTrace) -> bool[src]
fn eq(&self, __arg_0: &FlatTrace) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FlatTrace) -> bool[src]
fn ne(&self, __arg_0: &FlatTrace) -> boolThis method tests for !=.
impl Clone for FlatTrace[src]
impl Clone for FlatTracefn clone(&self) -> FlatTrace[src]
fn clone(&self) -> FlatTraceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl HeapSizeOf for FlatTrace[src]
impl HeapSizeOf for FlatTracefn heap_size_of_children(&self) -> usize[src]
fn heap_size_of_children(&self) -> usizeMeasure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more
impl Encodable for FlatTrace[src]
impl Encodable for FlatTracefn rlp_append(&self, s: &mut RlpStream)[src]
fn rlp_append(&self, s: &mut RlpStream)Append a value to the stream
fn rlp_bytes(&self) -> ElasticArray1024<u8>
fn rlp_bytes(&self) -> ElasticArray1024<u8>Get rlp-encoded bytes for this instance
impl Decodable for FlatTrace[src]
impl Decodable for FlatTrace