pub struct Configuration {
pub force_capture: bool,
pub keep_original_hook: bool,
pub logger: Option<&'static dyn Log>,
}Fields§
§force_capture: boolAlways force capture a backtrace.
If false, the presence of a backtrace will depend on the value of RUST_BACKTRACE.
See std::backtrace::Backtrace for more info
keep_original_hook: boolKeep the originally set panic hook, continuing any normal panic behaviour and custom panic behaviour set.
logger: Option<&'static dyn Log>When set, flush the given logger after we invoke log::error!()
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Configuration
impl !RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl !UnwindSafe for Configuration
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