pub enum QueryErrorKind {
Lexer,
Syntax,
Semantic,
Optimization,
Execution,
}Expand description
The kind of query error.
Variants§
Lexer
Lexical error (invalid token).
Syntax
Syntax error (parse failure).
Semantic
Semantic error (type mismatch, unknown identifier, etc.).
Optimization
Optimization error.
Execution
Execution error.
Trait Implementations§
Source§impl Clone for QueryErrorKind
impl Clone for QueryErrorKind
Source§fn clone(&self) -> QueryErrorKind
fn clone(&self) -> QueryErrorKind
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 QueryErrorKind
impl Debug for QueryErrorKind
Source§impl Display for QueryErrorKind
impl Display for QueryErrorKind
Source§impl PartialEq for QueryErrorKind
impl PartialEq for QueryErrorKind
impl Copy for QueryErrorKind
impl Eq for QueryErrorKind
impl StructuralPartialEq for QueryErrorKind
Auto Trait Implementations§
impl Freeze for QueryErrorKind
impl RefUnwindSafe for QueryErrorKind
impl Send for QueryErrorKind
impl Sync for QueryErrorKind
impl Unpin for QueryErrorKind
impl UnwindSafe for QueryErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.