pub enum BacktraceMode {
None,
Short(fn(&str) -> bool),
Full,
}Variants§
None
Report no backtraces
Short(fn(&str) -> bool)
Report backtraces with unuseful entries removed (i.e. alloc_track, allocator internals) Provides an additional filter function, which removes entries given the module path as an argument, when the returned value is false.
Full
Report the full backtrace
Trait Implementations§
Source§impl Clone for BacktraceMode
impl Clone for BacktraceMode
Source§fn clone(&self) -> BacktraceMode
fn clone(&self) -> BacktraceMode
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 moreSource§impl Debug for BacktraceMode
impl Debug for BacktraceMode
Source§impl Default for BacktraceMode
impl Default for BacktraceMode
Source§fn default() -> BacktraceMode
fn default() -> BacktraceMode
Returns the “default value” for a type. Read more
impl Copy for BacktraceMode
Auto Trait Implementations§
impl Freeze for BacktraceMode
impl RefUnwindSafe for BacktraceMode
impl Send for BacktraceMode
impl Sync for BacktraceMode
impl Unpin for BacktraceMode
impl UnwindSafe for BacktraceMode
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