pub struct Frame {
pub depth: u32,
pub external: bool,
pub address: Option<String>,
pub contract_name: Option<String>,
pub function_name: Option<String>,
pub entry_step: usize,
pub step: usize,
pub pc: u64,
pub location: Option<StepLocation>,
pub arguments: Vec<FrameArgument>,
pub kind: Option<String>,
}Expand description
One frame of the call structure at a step, innermost first in StepMap::frames.
Fields§
§depth: u32Zero for the transaction’s root frame.
external: boolTrue for a frame the EVM entered with a call or a creation; false for a Solidity internal function inferred from the source spans.
address: Option<String>§contract_name: Option<String>§function_name: Option<String>§entry_step: usizeThe step the frame was entered at.
step: usizeThe step the frame is at: the current step for the innermost frame, the call site for every frame above it.
pc: u64§location: Option<StepLocation>§arguments: Vec<FrameArgument>The arguments the function was entered with, when the frame was entered at its
entry point and the contract’s argument order is known. Filled in by
StepMap::frame_arguments; empty otherwise.
kind: Option<String>For a root frame, what its top-level call is, when the trace says.
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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