Enum data_query_lexical::LexerError
source · [−]pub enum LexerError {
EndOfQuery {
expected: String,
char_pointer: usize,
lex: String,
},
FailedToParseInt(ParseIntError),
UnexpectedCharacter {
expected: String,
found: String,
char_pointer: usize,
lex: String,
},
}
Variants
EndOfQuery
FailedToParseInt(ParseIntError)
UnexpectedCharacter
Trait Implementations
sourceimpl Debug for LexerError
impl Debug for LexerError
sourceimpl From<ParseIntError> for LexerError
impl From<ParseIntError> for LexerError
sourcefn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<LexerError> for LexerError
impl PartialEq<LexerError> for LexerError
sourcefn eq(&self, other: &LexerError) -> bool
fn eq(&self, other: &LexerError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LexerError) -> bool
fn ne(&self, other: &LexerError) -> bool
This method tests for !=
.
impl Eq for LexerError
impl StructuralEq for LexerError
impl StructuralPartialEq for LexerError
Auto Trait Implementations
impl RefUnwindSafe for LexerError
impl Send for LexerError
impl Sync for LexerError
impl Unpin for LexerError
impl UnwindSafe for LexerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more