Struct ethcore::trace::VMOperation
[−]
[src]
pub struct VMOperation { pub pc: usize, pub instruction: u8, pub gas_cost: U256, pub executed: Option<VMExecutedOperation>, }
A record of the execution of a single VM operation.
Fields
pc: usize
The program counter.
instruction: u8
The instruction executed.
gas_cost: U256
The gas cost for this instruction.
executed: Option<VMExecutedOperation>
Information concerning the execution of the operation.
Trait Implementations
impl Debug for VMOperation
[src]
impl Clone for VMOperation
[src]
fn clone(&self) -> VMOperation
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 VMOperation
[src]
fn eq(&self, __arg_0: &VMOperation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &VMOperation) -> bool
This method tests for !=
.
impl Default for VMOperation
[src]
fn default() -> VMOperation
Returns the "default value" for a type. Read more
impl Encodable for VMOperation
[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 VMOperation
[src]
fn decode<D>(decoder: &D) -> Result<Self, DecoderError> where D: Decoder
Decode a value from RLP bytes