#[non_exhaustive]pub struct SymbolicatedFrame {
pub address: u64,
pub function: Option<String>,
pub file: Option<PathBuf>,
pub line: Option<u32>,
pub inlined: bool,
}symbolicate only.Expand description
One symbolicated frame within a call site.
function, file, and line are each None when the
underlying debug info did not resolve to a name / location
(stripped binaries, FFI frames into system libraries, etc.).
The raw address is always preserved.
§Stability
Marked #[non_exhaustive] as of v1.0.0. Future minor
versions may add fields (e.g. column number, symbol kind,
crate-of-origin). Read fields by name; iterate via
ModAlloc::symbolicated_report.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.address: u64Original raw return address from the capture path.
function: Option<String>Demangled Rust function name, if resolvable.
file: Option<PathBuf>Source file path, if resolvable.
line: Option<u32>Source line number, if resolvable.
inlined: boolTrue if this frame represents an inlined call site that
expanded from the same return address as a previous frame
in the parent SymbolicatedCallSite.frames vector.
Trait Implementations§
Source§impl Clone for SymbolicatedFrame
impl Clone for SymbolicatedFrame
Source§fn clone(&self) -> SymbolicatedFrame
fn clone(&self) -> SymbolicatedFrame
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more