Enum endbasic_core::bytecode::ErrorHandlerSpan
source · pub enum ErrorHandlerSpan {
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 ErrorHandlerSpan
impl Clone for ErrorHandlerSpan
source§fn clone(&self) -> ErrorHandlerSpan
fn clone(&self) -> ErrorHandlerSpan
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 more