Struct ethcore::trace::VMExecutedOperation
source · [−]pub struct VMExecutedOperation {
pub gas_used: U256,
pub stack_push: Vec<U256>,
pub mem_diff: Option<MemoryDiff>,
pub store_diff: Option<StorageDiff>,
}
Expand description
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
sourceimpl Clone for VMExecutedOperation
impl Clone for VMExecutedOperation
sourcefn clone(&self) -> VMExecutedOperation
fn clone(&self) -> VMExecutedOperation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VMExecutedOperation
impl Debug for VMExecutedOperation
sourceimpl Decodable for VMExecutedOperation
impl Decodable for VMExecutedOperation
sourcefn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
sourceimpl Encodable for VMExecutedOperation
impl Encodable for VMExecutedOperation
sourceimpl PartialEq<VMExecutedOperation> for VMExecutedOperation
impl PartialEq<VMExecutedOperation> for VMExecutedOperation
sourcefn eq(&self, other: &VMExecutedOperation) -> bool
fn eq(&self, other: &VMExecutedOperation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VMExecutedOperation) -> bool
fn ne(&self, other: &VMExecutedOperation) -> bool
This method tests for !=
.
impl StructuralPartialEq for VMExecutedOperation
Auto Trait Implementations
impl RefUnwindSafe for VMExecutedOperation
impl Send for VMExecutedOperation
impl Sync for VMExecutedOperation
impl Unpin for VMExecutedOperation
impl UnwindSafe for VMExecutedOperation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more