pub enum AssemblerError {
InvalidOperationError,
NoSuchLabelError,
NoSuchRegisterError,
WrongOperandTypeError,
TooManyTokensError,
TooFewTokensError,
ImmediateTooLargeError,
InvalidImmediateError,
IOError,
}
Expand description
Enumeration of possible errors when assembling a program.
Variants§
InvalidOperationError
NoSuchLabelError
NoSuchRegisterError
WrongOperandTypeError
TooManyTokensError
TooFewTokensError
ImmediateTooLargeError
InvalidImmediateError
IOError
Trait Implementations§
Source§impl Debug for AssemblerError
impl Debug for AssemblerError
Source§impl PartialEq for AssemblerError
impl PartialEq for AssemblerError
impl StructuralPartialEq for AssemblerError
Auto Trait Implementations§
impl Freeze for AssemblerError
impl RefUnwindSafe for AssemblerError
impl Send for AssemblerError
impl Sync for AssemblerError
impl Unpin for AssemblerError
impl UnwindSafe for AssemblerError
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