pub enum LexErrorKind {
UnterminatedQuote,
UnterminatedComment,
UnrecognisedByte,
MalformedBlob,
MalformedNumber,
MalformedParameter,
}Expand description
Why lexing stopped.
Variants§
UnterminatedQuote
A quote or bracket was opened and never closed.
UnterminatedComment
A block comment was opened and never closed.
UnrecognisedByte
A byte that begins no token.
MalformedBlob
A blob literal whose body is not an even number of hex digits.
MalformedNumber
A numeric literal SQLite does not accept in this form.
MalformedParameter
A parameter name that is empty or out of range.
Implementations§
Trait Implementations§
Source§impl Clone for LexErrorKind
impl Clone for LexErrorKind
impl Copy for LexErrorKind
Source§impl Debug for LexErrorKind
impl Debug for LexErrorKind
impl Eq for LexErrorKind
Source§impl PartialEq for LexErrorKind
impl PartialEq for LexErrorKind
impl StructuralPartialEq for LexErrorKind
Auto Trait Implementations§
impl Freeze for LexErrorKind
impl RefUnwindSafe for LexErrorKind
impl Send for LexErrorKind
impl Sync for LexErrorKind
impl Unpin for LexErrorKind
impl UnsafeUnpin for LexErrorKind
impl UnwindSafe for LexErrorKind
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