pub enum MdbError {
NotFound,
KeyExists,
TxnFull,
CursorFull,
PageFull,
Corrupted,
Panic,
InvalidPath,
StateError(String),
CacheError,
Other(c_int, String),
}
Expand description
MdbError wraps information about LMDB error
Variants§
NotFound
KeyExists
TxnFull
CursorFull
PageFull
Corrupted
Panic
InvalidPath
StateError(String)
CacheError
Other(c_int, String)
Implementations§
Trait Implementations§
Source§impl Error for MdbError
impl Error for MdbError
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Auto Trait Implementations§
impl Freeze for MdbError
impl RefUnwindSafe for MdbError
impl Send for MdbError
impl Sync for MdbError
impl Unpin for MdbError
impl UnwindSafe for MdbError
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