pub struct DebugTraceEvent {Show 14 fields
pub instruction: usize,
pub pc: u64,
pub contract: String,
pub source: String,
pub source_hash: Option<[u8; 32]>,
pub line: u64,
pub column: u64,
pub offset: u64,
pub length: u64,
pub function: Option<String>,
pub frame_depth: u32,
pub frame_entry: bool,
pub generated: bool,
pub modifier_depth: Option<i64>,
}Expand description
One compiler-mapped source stop in an execution.
Fields§
§instruction: usizeInstruction index in the original execution trace, for diagnostics only.
pc: u64Program counter in that execution, for diagnostics only.
contract: String§source: String§source_hash: Option<[u8; 32]>Keccak-256 of the exact source bytes, independent of checkout location.
line: u64§column: u64§offset: u64§length: u64§function: Option<String>§frame_depth: u32§frame_entry: bool§generated: bool§modifier_depth: Option<i64>Legacy source-map modifier depth, when the artifact carries it.
Trait Implementations§
Source§impl Clone for DebugTraceEvent
impl Clone for DebugTraceEvent
Source§impl Debug for DebugTraceEvent
impl Debug for DebugTraceEvent
Source§impl<'de> Deserialize<'de> for DebugTraceEvent
impl<'de> Deserialize<'de> for DebugTraceEvent
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
impl Eq for DebugTraceEvent
Source§impl PartialEq for DebugTraceEvent
impl PartialEq for DebugTraceEvent
Source§impl Serialize for DebugTraceEvent
impl Serialize for DebugTraceEvent
impl StructuralPartialEq for DebugTraceEvent
Auto Trait Implementations§
impl Freeze for DebugTraceEvent
impl RefUnwindSafe for DebugTraceEvent
impl Send for DebugTraceEvent
impl Sync for DebugTraceEvent
impl Unpin for DebugTraceEvent
impl UnsafeUnpin for DebugTraceEvent
impl UnwindSafe for DebugTraceEvent
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