pub enum InstructionError {
UnkownInstruction(String),
OperandValueParseError(Instruction, ValueParseError),
}
Expand description
Thrown when errors are found parsing Baby asm instructions.
Variants§
UnkownInstruction(String)
A given instruction isn’t correct.
OperandValueParseError(Instruction, ValueParseError)
Attempting to parse a instructions operand threw an error.
Trait Implementations§
Source§impl Debug for InstructionError
impl Debug for InstructionError
Source§impl ParseError for InstructionError
impl ParseError for InstructionError
Source§impl PartialEq for InstructionError
impl PartialEq for InstructionError
impl StructuralPartialEq for InstructionError
Auto Trait Implementations§
impl Freeze for InstructionError
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