#[repr(u16)]pub enum ErrorClass {
Query = 0,
Corruption = 1,
IncompatiblePersistedFormat = 2,
NotFound = 3,
Internal = 4,
Conflict = 5,
Unsupported = 6,
InvariantViolation = 7,
}Expand description
ErrorClass
Broad diagnostic class used for recovery decisions.
Variants§
Query = 0
Corruption = 1
IncompatiblePersistedFormat = 2
NotFound = 3
Internal = 4
Conflict = 5
Unsupported = 6
InvariantViolation = 7
Trait Implementations§
Source§impl Clone for ErrorClass
impl Clone for ErrorClass
Source§fn clone(&self) -> ErrorClass
fn clone(&self) -> ErrorClass
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 moreimpl Copy for ErrorClass
Source§impl Debug for ErrorClass
impl Debug for ErrorClass
impl Eq for ErrorClass
Source§impl Hash for ErrorClass
impl Hash for ErrorClass
Source§impl PartialEq for ErrorClass
impl PartialEq for ErrorClass
Source§fn eq(&self, other: &ErrorClass) -> bool
fn eq(&self, other: &ErrorClass) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorClass
Auto Trait Implementations§
impl Freeze for ErrorClass
impl RefUnwindSafe for ErrorClass
impl Send for ErrorClass
impl Sync for ErrorClass
impl Unpin for ErrorClass
impl UnsafeUnpin for ErrorClass
impl UnwindSafe for ErrorClass
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