BacktraceHandler

Struct BacktraceHandler 

Source
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>

Source§

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

Formats the attachment using debug-style formatting. Read more
Source§

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>

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl<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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<O> ObjectMarkerFor<Local> for O
where O: 'static,

Source§

impl<O> ObjectMarkerFor<SendSync> for O
where O: 'static + Send + Sync,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.