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 Debug for VMOperationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for VMOperation[src]
impl Clone for VMOperationfn clone(&self) -> VMOperation[src]
fn clone(&self) -> VMOperationReturns 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)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for VMOperation[src]
impl PartialEq for VMOperationfn eq(&self, other: &VMOperation) -> bool[src]
fn eq(&self, other: &VMOperation) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &VMOperation) -> bool[src]
fn ne(&self, other: &VMOperation) -> boolThis method tests for !=.
impl Default for VMOperation[src]
impl Default for VMOperationfn default() -> VMOperation[src]
fn default() -> VMOperationReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for VMOperation
impl Send for VMOperationimpl Sync for VMOperation
impl Sync for VMOperation