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

key/data pair already exists.

key/data pair not found (EOF).

Requested page not found - this usually indicates corruption.

Located page was wrong type.

Update of meta page failed or environment had fatal error.

Environment version mismatch.

File is not a valid LMDB file.

Environment mapsize reached.

Environment maxdbs reached.

Environment maxreaders reached.

Too many TLS keys in use - Windows only.

Txn has too many dirty pages.

Cursor stack too deep - internal error.

Page has not enough space - internal error.

Database contents grew beyond environment mapsize.

MDB_Incompatible: Operation and DB incompatible, or DB flags changed.

Invalid reuse of reader locktable slot.

Transaction cannot recover - it must be aborted.

Unsupported size of key/DB name/data, or wrong DUP_FIXED size.

The specified DBI was changed unexpectedly.

Other error.

Methods

impl Error
[src]

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Eq for Error
[src]

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl StdError for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more