pub enum InstructionParseError {
LabelNotFound(String),
InvalidKeyword(String),
OperandParseError(OperandParseError),
UnexpectedArgument(String),
}Variants§
LabelNotFound(String)
InvalidKeyword(String)
OperandParseError(OperandParseError)
UnexpectedArgument(String)
Trait Implementations§
Source§impl Debug for InstructionParseError
impl Debug for InstructionParseError
Source§impl Display for InstructionParseError
impl Display for InstructionParseError
Source§impl Error for InstructionParseError
impl Error for InstructionParseError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<InstructionParseError> for CodeParseError
impl From<InstructionParseError> for CodeParseError
Source§fn from(source: InstructionParseError) -> Self
fn from(source: InstructionParseError) -> Self
Converts to this type from the input type.
Source§impl From<OperandParseError> for InstructionParseError
impl From<OperandParseError> for InstructionParseError
Source§fn from(source: OperandParseError) -> Self
fn from(source: OperandParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstructionParseError
impl PartialEq for InstructionParseError
impl Eq for InstructionParseError
impl StructuralPartialEq for InstructionParseError
Auto Trait Implementations§
impl Freeze for InstructionParseError
impl RefUnwindSafe for InstructionParseError
impl Send for InstructionParseError
impl Sync for InstructionParseError
impl Unpin for InstructionParseError
impl UnwindSafe for InstructionParseError
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