Enum ord_lmdb_rs::core::MdbError
source · [−]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
sourceimpl Error for MdbError
impl Error for MdbError
sourcefn description(&self) -> &'static str
fn description(&self) -> &'static 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
Auto Trait Implementations
impl RefUnwindSafe for MdbError
impl Send for MdbError
impl Sync for MdbError
impl Unpin for MdbError
impl UnwindSafe for MdbError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more