pub struct VMOperation {
pub pc: usize,
pub cost: u64,
pub ex: Option<VMExecutedOperation>,
pub sub: Option<VMTrace>,
}
Expand description
A record of the execution of a single VM operation.
Fields§
§pc: usize
The program counter.
cost: u64
The gas cost for this instruction.
ex: Option<VMExecutedOperation>
Information concerning the execution of the operation.
sub: Option<VMTrace>
Subordinate trace of the CALL/CREATE if applicable.
Trait Implementations§
Source§impl Clone for VMOperation
impl Clone for VMOperation
Source§fn clone(&self) -> VMOperation
fn clone(&self) -> VMOperation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VMOperation
impl Debug for VMOperation
Source§impl Default for VMOperation
impl Default for VMOperation
Source§fn default() -> VMOperation
fn default() -> VMOperation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VMOperation
impl<'de> Deserialize<'de> for VMOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VMOperation
impl PartialEq for VMOperation
Source§impl Serialize for VMOperation
impl Serialize for VMOperation
impl StructuralPartialEq for VMOperation
Auto Trait Implementations§
impl Freeze for VMOperation
impl RefUnwindSafe for VMOperation
impl Send for VMOperation
impl Sync for VMOperation
impl Unpin for VMOperation
impl UnwindSafe for VMOperation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more