Enum crash_handler::CrashEventResult
source · Expand description
The result of the user code executed during a crash event
Variants
Handled(bool)
The event was handled in some way
Jump
Fields
value: i32The value that will be returned from the sig/setjmp call that we jump to. Note that if the value is 0 it will be corrected to 1
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 RefUnwindSafe for CrashEventResult
impl !Send for CrashEventResult
impl !Sync for CrashEventResult
impl Unpin for CrashEventResult
impl UnwindSafe for CrashEventResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more