pub enum ErrorHandlerISpan {
Jump(Address),
None,
ResumeNext,
}
Expand description
Components of a change to the error handler.
Variants§
Jump(Address)
Jumps to the included address on error.
None
Sets the error handler to the default.
ResumeNext
Sets the error handler to resume execution at to the next instruction.
Trait Implementations§
Source§impl Clone for ErrorHandlerISpan
impl Clone for ErrorHandlerISpan
Source§fn clone(&self) -> ErrorHandlerISpan
fn clone(&self) -> ErrorHandlerISpan
Returns a copy 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 moreimpl Copy for ErrorHandlerISpan
Auto Trait Implementations§
impl Freeze for ErrorHandlerISpan
impl RefUnwindSafe for ErrorHandlerISpan
impl Send for ErrorHandlerISpan
impl Sync for ErrorHandlerISpan
impl Unpin for ErrorHandlerISpan
impl UnwindSafe for ErrorHandlerISpan
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