pub struct TrimmedBacktrace { /* private fields */ }Implementations§
Methods from Deref<Target = Backtrace>§
Sourcepub fn frames(&self) -> &[BacktraceFrame]
pub fn frames(&self) -> &[BacktraceFrame]
Returns the frames from when this backtrace was captured.
The first entry of this slice is likely the function Backtrace::new,
and the last frame is likely something about how this thread or the main
function started.
§Required features
This function requires the std feature of the backtrace crate to be
enabled, and the std feature is enabled by default.
Sourcepub fn resolve(&mut self)
pub fn resolve(&mut self)
If this backtrace was created from new_unresolved then this function
will resolve all addresses in the backtrace to their symbolic names.
If this backtrace has been previously resolved or was created through
new, this function does nothing.
§Required features
This function requires the std feature of the backtrace crate to be
enabled, and the std feature is enabled by default.
Trait Implementations§
Source§impl Debug for TrimmedBacktrace
impl Debug for TrimmedBacktrace
Source§impl Deref for TrimmedBacktrace
impl Deref for TrimmedBacktrace
Source§impl DerefMut for TrimmedBacktrace
impl DerefMut for TrimmedBacktrace
Source§impl Display for TrimmedBacktrace
impl Display for TrimmedBacktrace
Source§impl From<TrimmedBacktrace> for Backtrace
impl From<TrimmedBacktrace> for Backtrace
Source§fn from(value: TrimmedBacktrace) -> Self
fn from(value: TrimmedBacktrace) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TrimmedBacktrace
impl RefUnwindSafe for TrimmedBacktrace
impl Send for TrimmedBacktrace
impl Sync for TrimmedBacktrace
impl Unpin for TrimmedBacktrace
impl UnwindSafe for TrimmedBacktrace
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more