pub struct BacktraceFrame {
pub frame_number: u32,
pub image_name: String,
pub address: u64,
pub symbol_name: Option<String>,
pub symbol_offset: u64,
pub source_file: Option<String>,
pub source_line: Option<u32>,
}Expand description
Represents a single frame in a backtrace.
Fields§
§frame_number: u32Zero-based index of this frame in the backtrace.
image_name: StringName of the binary image containing this frame’s address.
address: u64Virtual memory address of this frame.
symbol_name: Option<String>Symbolicated function name, if available.
symbol_offset: u64Byte offset from the start of the symbol.
source_file: Option<String>Source file path, if debug info is available.
source_line: Option<u32>Source line number, if debug info is available.
Trait Implementations§
Source§impl Clone for BacktraceFrame
impl Clone for BacktraceFrame
Source§fn clone(&self) -> BacktraceFrame
fn clone(&self) -> BacktraceFrame
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BacktraceFrame
impl RefUnwindSafe for BacktraceFrame
impl Send for BacktraceFrame
impl Sync for BacktraceFrame
impl Unpin for BacktraceFrame
impl UnsafeUnpin for BacktraceFrame
impl UnwindSafe for BacktraceFrame
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