pub enum QueryErrorKind {
Validate,
Intent,
Plan,
UnorderedPagination,
InvalidContinuationCursor,
NotFound,
NotUnique,
}Expand description
QueryErrorKind
Public query error class.
Variants§
Validate
Validation failed.
Intent
Intent validation failed.
Plan
Planning failed.
UnorderedPagination
Pagination lacked ordering.
InvalidContinuationCursor
Continuation cursor was invalid.
NotFound
No rows matched.
NotUnique
More than one row matched.
Trait Implementations§
Source§impl CandidType for QueryErrorKind
impl CandidType for QueryErrorKind
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 (const: unstable) · 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<'de> Deserialize<'de> for QueryErrorKind
impl<'de> Deserialize<'de> for QueryErrorKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for QueryErrorKind
impl PartialEq for QueryErrorKind
Source§fn eq(&self, other: &QueryErrorKind) -> bool
fn eq(&self, other: &QueryErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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