pub struct BacktraceHandler<const SHOW_FULL_PATH: bool>;Expand description
Handler for formatting Backtrace attachments.
Trait Implementations§
Source§impl<const SHOW_FULL_PATH: bool> AttachmentHandler<Backtrace> for BacktraceHandler<SHOW_FULL_PATH>
impl<const SHOW_FULL_PATH: bool> AttachmentHandler<Backtrace> for BacktraceHandler<SHOW_FULL_PATH>
Source§fn display(value: &Backtrace, f: &mut Formatter<'_>) -> Result
fn display(value: &Backtrace, f: &mut Formatter<'_>) -> Result
Formats the attachment using display-style formatting. Read more
Source§fn debug(value: &Backtrace, formatter: &mut Formatter<'_>) -> Result
fn debug(value: &Backtrace, formatter: &mut Formatter<'_>) -> Result
Formats the attachment using debug-style formatting. Read more
Source§fn preferred_formatting_style(
backtrace: &Backtrace,
_report_formatting_function: FormattingFunction,
) -> AttachmentFormattingStyle
fn preferred_formatting_style( backtrace: &Backtrace, _report_formatting_function: FormattingFunction, ) -> AttachmentFormattingStyle
Specifies the preferred formatting style and placement for this
attachment. Read more
Source§impl<const SHOW_FULL_PATH: bool> Clone for BacktraceHandler<SHOW_FULL_PATH>
impl<const SHOW_FULL_PATH: bool> Clone for BacktraceHandler<SHOW_FULL_PATH>
Source§fn clone(&self) -> BacktraceHandler<SHOW_FULL_PATH>
fn clone(&self) -> BacktraceHandler<SHOW_FULL_PATH>
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 moreimpl<const SHOW_FULL_PATH: bool> Copy for BacktraceHandler<SHOW_FULL_PATH>
Auto Trait Implementations§
impl<const SHOW_FULL_PATH: bool> Freeze for BacktraceHandler<SHOW_FULL_PATH>
impl<const SHOW_FULL_PATH: bool> RefUnwindSafe for BacktraceHandler<SHOW_FULL_PATH>
impl<const SHOW_FULL_PATH: bool> Send for BacktraceHandler<SHOW_FULL_PATH>
impl<const SHOW_FULL_PATH: bool> Sync for BacktraceHandler<SHOW_FULL_PATH>
impl<const SHOW_FULL_PATH: bool> Unpin for BacktraceHandler<SHOW_FULL_PATH>
impl<const SHOW_FULL_PATH: bool> UnwindSafe for BacktraceHandler<SHOW_FULL_PATH>
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