#[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
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.