pub enum DbErrorKind {
Io,
Format,
Schema,
Validation,
Transaction,
Query,
NotImplemented,
}Expand description
Stable classification of core errors (suitable for matching in higher-level bindings).
Variants§
Trait Implementations§
Source§impl Clone for DbErrorKind
impl Clone for DbErrorKind
Source§fn clone(&self) -> DbErrorKind
fn clone(&self) -> DbErrorKind
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 DbErrorKind
impl Debug for DbErrorKind
Source§impl PartialEq for DbErrorKind
impl PartialEq for DbErrorKind
Source§fn eq(&self, other: &DbErrorKind) -> bool
fn eq(&self, other: &DbErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DbErrorKind
impl Eq for DbErrorKind
impl StructuralPartialEq for DbErrorKind
Auto Trait Implementations§
impl Freeze for DbErrorKind
impl RefUnwindSafe for DbErrorKind
impl Send for DbErrorKind
impl Sync for DbErrorKind
impl Unpin for DbErrorKind
impl UnsafeUnpin for DbErrorKind
impl UnwindSafe for DbErrorKind
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