pub enum CrashEventResult {
Handled(bool),
Jump {
jmp_buf: *mut JmpBuf,
value: i32,
},
}
Expand description
The result of the user code executed during a crash event
Variants§
Handled(bool)
The event was handled in some way
Jump
The handler wishes to jump somewhere else, presumably to return execution and skip the code that caused the exception
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrashEventResult
impl RefUnwindSafe for CrashEventResult
impl !Send for CrashEventResult
impl !Sync for CrashEventResult
impl Unpin for CrashEventResult
impl UnwindSafe for CrashEventResult
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