Struct ethcore::trace::trace::VMExecutedOperation
[−]
[src]
pub struct VMExecutedOperation { pub gas_used: U256, pub stack_push: Vec<U256>, pub mem_diff: Option<MemoryDiff>, pub store_diff: Option<StorageDiff>, }
A record of an executed VM operation.
Fields
gas_used: U256
The total gas used.
stack_push: Vec<U256>
The stack item placed, if any.
mem_diff: Option<MemoryDiff>
If altered, the memory delta.
store_diff: Option<StorageDiff>
The altered storage value, if any.
Trait Implementations
impl Debug for VMExecutedOperation
[src]
impl Clone for VMExecutedOperation
[src]
fn clone(&self) -> VMExecutedOperation
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 VMExecutedOperation
[src]
fn eq(&self, __arg_0: &VMExecutedOperation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VMExecutedOperation) -> bool
This method tests for !=
.
impl Encodable for VMExecutedOperation
[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 VMExecutedOperation
[src]
fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder
Decode a value from RLP bytes