pub struct VMExecutedOperation {
pub used: u64,
pub push: Vec<U256>,
pub mem: Option<MemoryDiff>,
pub store: Option<StorageDiff>,
}
Expand description
A record of an executed VM operation.
Fields§
§used: u64
The total gas used.
push: Vec<U256>
The stack item placed, if any.
mem: Option<MemoryDiff>
If altered, the memory delta.
store: Option<StorageDiff>
The altered storage value, if any.
Trait Implementations§
Source§impl Clone for VMExecutedOperation
impl Clone for VMExecutedOperation
Source§fn clone(&self) -> VMExecutedOperation
fn clone(&self) -> VMExecutedOperation
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 VMExecutedOperation
impl Debug for VMExecutedOperation
Source§impl Default for VMExecutedOperation
impl Default for VMExecutedOperation
Source§fn default() -> VMExecutedOperation
fn default() -> VMExecutedOperation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VMExecutedOperation
impl<'de> Deserialize<'de> for VMExecutedOperation
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 VMExecutedOperation
impl PartialEq for VMExecutedOperation
Source§impl Serialize for VMExecutedOperation
impl Serialize for VMExecutedOperation
impl StructuralPartialEq for VMExecutedOperation
Auto Trait Implementations§
impl Freeze for VMExecutedOperation
impl RefUnwindSafe for VMExecutedOperation
impl Send for VMExecutedOperation
impl Sync for VMExecutedOperation
impl Unpin for VMExecutedOperation
impl UnwindSafe for VMExecutedOperation
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