pub enum KVSError {
GeneralKVSError,
KeyNotFoundError,
IOError,
SerdeJsonError,
FromUtf8Error,
SledError,
}
Variants
GeneralKVSError
KeyNotFoundError
IOError
SerdeJsonError
FromUtf8Error
SledError
Trait Implementations
sourceimpl Error for KVSError
impl Error for KVSError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<FromUtf8Error> for KVSError
impl From<FromUtf8Error> for KVSError
sourcefn from(_err: FromUtf8Error) -> KVSError
fn from(_err: FromUtf8Error) -> KVSError
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for KVSError
impl Send for KVSError
impl Sync for KVSError
impl Unpin for KVSError
impl UnwindSafe for KVSError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more