Enum std::rt::panic_count::MustAbort
source · pub enum MustAbort {
AlwaysAbort,
PanicInHook,
}
🔬This is a nightly-only experimental API. (
update_panic_count
)Expand description
A reason for forcing an immediate abort on panic.
Variants§
AlwaysAbort
🔬This is a nightly-only experimental API. (
update_panic_count
)PanicInHook
🔬This is a nightly-only experimental API. (
update_panic_count
)Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MustAbort
impl Send for MustAbort
impl Sync for MustAbort
impl Unpin for MustAbort
impl UnwindSafe for MustAbort
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