Enum oca_file::ocafile::error::InstructionError
source · pub enum InstructionError {
UnexpectedToken(String),
Parser(String),
Unknown(String),
ExtractError(ExtractingAttributeError),
}
Variants§
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
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()
source§impl From<ExtractingAttributeError> for InstructionError
impl From<ExtractingAttributeError> for InstructionError
source§fn from(source: ExtractingAttributeError) -> Self
fn from(source: ExtractingAttributeError) -> Self
Converts to this type from the input type.
source§impl From<InstructionError> for ParseError
impl From<InstructionError> for ParseError
source§fn from(source: InstructionError) -> Self
fn from(source: InstructionError) -> Self
Converts to this type from the input type.
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