Enum easy_sqlite::entities::errors::DbError
source · pub enum DbError {
CanNotConnect(String),
CanNotInitTable(&'static str, String),
NotFound(Option<String>),
MutexError,
DeserializationError(String),
Other(String),
}
Variants§
CanNotConnect(String)
CanNotInitTable(&'static str, String)
NotFound(Option<String>)
MutexError
DeserializationError(String)
Other(String)
Trait Implementations§
source§impl<T> From<PoisonError<T>> for DbError
impl<T> From<PoisonError<T>> for DbError
source§fn from(_: PoisonError<T>) -> Self
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
source§impl PartialEq<DbError> for DbError
impl PartialEq<DbError> for DbError
impl Eq for DbError
impl StructuralEq for DbError
impl StructuralPartialEq for DbError
Auto Trait Implementations§
impl RefUnwindSafe for DbError
impl Send for DbError
impl Sync for DbError
impl Unpin for DbError
impl UnwindSafe for DbError
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more