pub enum Error<K, V>{
Sqlite(Error),
Fmt(Error),
KeySerialize(K::SerializeError),
KeyDeserialize(K::DeserializeError),
ValueSerialize(V::SerializeError),
ValueDeserialize(V::DeserializeError),
}Variants§
Sqlite(Error)
Fmt(Error)
KeySerialize(K::SerializeError)
KeyDeserialize(K::DeserializeError)
ValueSerialize(V::SerializeError)
ValueDeserialize(V::DeserializeError)
Trait Implementations§
Source§impl<K, V> Error for Error<K, V>
impl<K, V> Error for Error<K, V>
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()
Auto Trait Implementations§
impl<K, V> Freeze for Error<K, V>where
<K as Format>::SerializeError: Freeze,
<K as Format>::DeserializeError: Freeze,
<V as Format>::SerializeError: Freeze,
<V as Format>::DeserializeError: Freeze,
impl<K, V> !RefUnwindSafe for Error<K, V>
impl<K, V> Send for Error<K, V>where
<K as Format>::SerializeError: Send,
<K as Format>::DeserializeError: Send,
<V as Format>::SerializeError: Send,
<V as Format>::DeserializeError: Send,
impl<K, V> Sync for Error<K, V>where
<K as Format>::SerializeError: Sync,
<K as Format>::DeserializeError: Sync,
<V as Format>::SerializeError: Sync,
<V as Format>::DeserializeError: Sync,
impl<K, V> Unpin for Error<K, V>where
<K as Format>::SerializeError: Unpin,
<K as Format>::DeserializeError: Unpin,
<V as Format>::SerializeError: Unpin,
<V as Format>::DeserializeError: Unpin,
impl<K, V> !UnwindSafe for Error<K, V>
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