Struct vapcore_trace::VMTrace[][src]

pub struct VMTrace {
    pub parent_step: usize,
    pub code: Bytes,
    pub operations: Vec<VMOperation>,
    pub subs: Vec<VMTrace>,
}

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

impl Clone for VMTrace[src]

impl Debug for VMTrace[src]

impl Decodable for VMTrace[src]

impl Default for VMTrace[src]

impl Encodable for VMTrace[src]

impl PartialEq<VMTrace> for VMTrace[src]

impl StructuralPartialEq for VMTrace[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,