Enum lmdb_rs_m::core::MdbError [−][src]
pub enum MdbError { NotFound, KeyExists, TxnFull, CursorFull, PageFull, Corrupted, Panic, InvalidPath, StateError(String), CacheError, Other(c_int, String), }
MdbError wraps information about LMDB error
Variants
NotFound
KeyExists
TxnFull
CursorFull
PageFull
Corrupted
Panic
InvalidPath
StateError(String)
CacheError
Other(c_int, String)
Methods
impl MdbError
[src]
impl MdbError
pub fn new_with_code(code: c_int) -> MdbError
[src]
pub fn new_with_code(code: c_int) -> MdbError
Trait Implementations
impl Debug for MdbError
[src]
impl Debug for MdbError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for MdbError
[src]
impl Display for MdbError
fn fmt(&self, fmt: &mut Formatter) -> Result
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for MdbError
[src]
impl Error for MdbError