pub enum QueryExecutionError {
Corruption(InternalError),
InvariantViolation(InternalError),
Conflict(InternalError),
NotFound(InternalError),
Unsupported(InternalError),
Internal(InternalError),
}Expand description
QueryExecutionError
Variants§
Corruption(InternalError)
InvariantViolation(InternalError)
Conflict(InternalError)
NotFound(InternalError)
Unsupported(InternalError)
Internal(InternalError)
Implementations§
Source§impl QueryExecutionError
impl QueryExecutionError
Sourcepub const fn as_internal(&self) -> &InternalError
pub const fn as_internal(&self) -> &InternalError
Borrow the wrapped classified runtime error.
Trait Implementations§
Source§impl Debug for QueryExecutionError
impl Debug for QueryExecutionError
Source§impl Display for QueryExecutionError
impl Display for QueryExecutionError
Source§impl Error for QueryExecutionError
impl Error for QueryExecutionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<InternalError> for QueryExecutionError
impl From<InternalError> for QueryExecutionError
Source§fn from(err: InternalError) -> Self
fn from(err: InternalError) -> Self
Converts to this type from the input type.
Source§impl From<QueryExecutionError> for QueryError
impl From<QueryExecutionError> for QueryError
Source§fn from(source: QueryExecutionError) -> Self
fn from(source: QueryExecutionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for QueryExecutionError
impl RefUnwindSafe for QueryExecutionError
impl Send for QueryExecutionError
impl Sync for QueryExecutionError
impl Unpin for QueryExecutionError
impl UnsafeUnpin for QueryExecutionError
impl UnwindSafe for QueryExecutionError
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