pub enum ParseSQLErrorKind {
Context(&'static str),
Char(char),
Nom(ErrorKind),
}
Expand description
Error context for ParseSQLError
Variants§
Context(&'static str)
Static string added by the context
function
Char(char)
Indicates which character was expected by the char
function
Nom(ErrorKind)
Error kind given by various nom parsers
Trait Implementations§
Source§impl Clone for ParseSQLErrorKind
impl Clone for ParseSQLErrorKind
Source§fn clone(&self) -> ParseSQLErrorKind
fn clone(&self) -> ParseSQLErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParseSQLErrorKind
impl Debug for ParseSQLErrorKind
Source§impl PartialEq for ParseSQLErrorKind
impl PartialEq for ParseSQLErrorKind
impl StructuralPartialEq for ParseSQLErrorKind
Auto Trait Implementations§
impl Freeze for ParseSQLErrorKind
impl RefUnwindSafe for ParseSQLErrorKind
impl Send for ParseSQLErrorKind
impl Sync for ParseSQLErrorKind
impl Unpin for ParseSQLErrorKind
impl UnwindSafe for ParseSQLErrorKind
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