pub enum LexerError {
EndOfQuery {
expected: String,
char_pointer: usize,
lex: String,
},
FailedToParseInt(ParseIntError),
UnexpectedCharacter {
expected: String,
found: String,
char_pointer: usize,
lex: String,
},
}
Variants§
Trait Implementations§
Source§impl Debug for LexerError
impl Debug for LexerError
Source§impl From<ParseIntError> for LexerError
impl From<ParseIntError> for LexerError
Source§fn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LexerError
impl PartialEq for LexerError
impl Eq for LexerError
impl StructuralPartialEq for LexerError
Auto Trait Implementations§
impl Freeze for LexerError
impl RefUnwindSafe for LexerError
impl Send for LexerError
impl Sync for LexerError
impl Unpin for LexerError
impl UnwindSafe for LexerError
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