Enum lmdb::Error
[−]
[src]
pub enum Error { KeyExist, NotFound, PageNotFound, Corrupted, Panic, VersionMismatch, Invalid, MapFull, DbsFull, ReadersFull, TlsFull, TxnFull, CursorFull, PageFull, MapResized, Incompatible, BadRslot, BadTxn, BadValSize, BadDbi, Other(c_int), }
Variants
KeyExist
key/data pair already exists.
NotFound
key/data pair not found (EOF).
PageNotFound
Requested page not found - this usually indicates corruption.
Corrupted
Located page was wrong type.
Panic
Update of meta page failed or environment had fatal error.
VersionMismatch
Environment version mismatch.
Invalid
File is not a valid LMDB file.
MapFull
Environment mapsize reached.
DbsFull
Environment maxdbs reached.
ReadersFull
Environment maxreaders reached.
TlsFull
Too many TLS keys in use - Windows only.
TxnFull
Txn has too many dirty pages.
CursorFull
Cursor stack too deep - internal error.
PageFull
Page has not enough space - internal error.
MapResized
Database contents grew beyond environment mapsize.
Incompatible
MDB_Incompatible: Operation and DB incompatible, or DB flags changed.
BadRslot
Invalid reuse of reader locktable slot.
BadTxn
Transaction cannot recover - it must be aborted.
BadValSize
Unsupported size of key/DB name/data, or wrong DUP_FIXED size.
BadDbi
The specified DBI was changed unexpectedly.
Other(c_int)
Other error.
Methods
impl Error
[src]
fn from_err_code(err_code: c_int) -> Error
fn to_err_code(&self) -> c_int
Trait Implementations
impl Debug for Error
[src]
impl Eq for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.
impl Copy for Error
[src]
impl Clone for Error
[src]
fn clone(&self) -> Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more