Struct backtrace::BacktraceSymbol
[−]
[src]
pub struct BacktraceSymbol { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Captured version of a symbol in a backtrace.
This type is returned as a list from BacktraceFrame::symbols
and
represents the metadata for a symbol in a backtrace.
Methods
impl BacktraceSymbol
[src]
pub fn name(&self) -> Option<SymbolName>
[src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Same as Symbol::name
pub fn addr(&self) -> Option<*mut c_void>
[src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Same as Symbol::addr
pub fn filename(&self) -> Option<&Path>
[src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Same as Symbol::filename
pub fn lineno(&self) -> Option<u32>
[src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Same as Symbol::lineno
Trait Implementations
impl Clone for BacktraceSymbol
[src]
fn clone(&self) -> BacktraceSymbol
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more