pub struct VMTrace {
pub parent_step: usize,
pub code: Bytes,
pub operations: Vec<VMOperation>,
pub subs: Vec<VMTrace>,
}
Expand description
A record of a full VM trace for a CALL/CREATE.
Fields
parent_step: usize
The step (i.e. index into operations) at which this trace corresponds.
code: Bytes
The code to be executed.
operations: Vec<VMOperation>
The operations executed.
subs: Vec<VMTrace>
The sub traces for each interior action performed as part of this call/create. Thre is a 1:1 correspondance between these and a CALL/CREATE/CALLCODE/DELEGATECALL instruction.
Trait Implementations
sourceimpl Decodable for VMTrace
impl Decodable for VMTrace
sourcefn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
fn decode(rlp: &Rlp<'_>) -> Result<Self, DecoderError>
Decode a value from RLP bytes
impl StructuralPartialEq for VMTrace
Auto Trait Implementations
impl RefUnwindSafe for VMTrace
impl Send for VMTrace
impl Sync for VMTrace
impl Unpin for VMTrace
impl UnwindSafe for VMTrace
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