pub struct BacktraceSymbol { /* private fields */ }
Available on crate feature
rt
only.Expand description
A backtrace symbol.
This struct provides accessors for backtrace symbols, similar to backtrace::BacktraceSymbol
.
Implementations§
Source§impl BacktraceSymbol
impl BacktraceSymbol
Sourcepub fn name_demangled(&self) -> Option<&str>
pub fn name_demangled(&self) -> Option<&str>
Return the demangled name of the symbol.
Sourcepub fn filename(&self) -> Option<&Path>
pub fn filename(&self) -> Option<&Path>
Returns the file name where this function was defined. If debuginfo is missing, this is likely to return None.
Trait Implementations§
Source§impl Clone for BacktraceSymbol
impl Clone for BacktraceSymbol
Source§fn clone(&self) -> BacktraceSymbol
fn clone(&self) -> BacktraceSymbol
Returns a copy 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 BacktraceSymbol
impl RefUnwindSafe for BacktraceSymbol
impl Send for BacktraceSymbol
impl Sync for BacktraceSymbol
impl Unpin for BacktraceSymbol
impl UnwindSafe for BacktraceSymbol
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