Enum aries_askar::ErrorKind
source · pub enum ErrorKind {
Backend,
Busy,
Custom,
Duplicate,
Encryption,
Input,
NotFound,
Unexpected,
Unsupported,
}
Expand description
The possible kinds of error produced by the crate
Variants§
Backend
An unexpected error from the store backend
Busy
The store backend was too busy to handle the request
Custom
A custom error type for external integrations
Duplicate
An insert operation failed due to a unique key conflict
Encryption
An encryption or decryption operation failed
Input
The input parameters to the method were incorrect
NotFound
The requested record was not found
Unexpected
An unexpected error occurred
Unsupported
An unsupported operation was requested
Implementations§
Trait Implementations§
source§impl PartialEq for ErrorKind
impl PartialEq for ErrorKind
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.