Struct lmdb_zero::error::Error [] [src]

pub struct Error {
    pub code: c_int,
}

Error type returned by LMDB.

Fields

The raw error code.

This is generally expected to be a constant defined in the errors module if negative, or a raw platform error code if positive.

Trait Implementations

impl Hash for Error
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

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 Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

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

impl From<NulError> for Error
[src]

Performs the conversion.