#[non_exhaustive]pub enum BacktraceStyle {
Short,
Full,
Off,
}
🔬This is a nightly-only experimental API. (
panic_backtrace_config
)Expand description
The configuration for whether and how the default panic hook will capture and display the backtrace.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Short
🔬This is a nightly-only experimental API. (
panic_backtrace_config
)Prints a terser backtrace which ideally only contains relevant information.
Full
🔬This is a nightly-only experimental API. (
panic_backtrace_config
)Prints a backtrace with all possible information.
Off
🔬This is a nightly-only experimental API. (
panic_backtrace_config
)Disable collecting and displaying backtraces.
Trait Implementations§
source§impl Clone for BacktraceStyle
impl Clone for BacktraceStyle
source§fn clone(&self) -> BacktraceStyle
fn clone(&self) -> BacktraceStyle
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 moresource§impl Debug for BacktraceStyle
impl Debug for BacktraceStyle
source§impl PartialEq for BacktraceStyle
impl PartialEq for BacktraceStyle
impl Copy for BacktraceStyle
impl Eq for BacktraceStyle
impl StructuralPartialEq for BacktraceStyle
Auto Trait Implementations§
impl Freeze for BacktraceStyle
impl RefUnwindSafe for BacktraceStyle
impl Send for BacktraceStyle
impl Sync for BacktraceStyle
impl Unpin for BacktraceStyle
impl UnwindSafe for BacktraceStyle
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)