pub struct InstructionError {
pub instruction: Instruction,
pub error_kind: InstructionErrorKind,
}
Expand description
Structure to represent the errors for instructions.
Fields§
§instruction: Instruction
The instruction that raises the error.
error_kind: InstructionErrorKind
The error kind.
Trait Implementations§
source§impl Debug for InstructionError
impl Debug for InstructionError
source§impl Display for InstructionError
impl Display for InstructionError
source§impl Error for InstructionError
impl Error for InstructionError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl RefUnwindSafe for InstructionError
impl Send for InstructionError
impl Sync for InstructionError
impl Unpin for InstructionError
impl UnwindSafe for InstructionError
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