Enum gnudbm::Error [] [src]

pub enum Error {
    InvalidPath,
    KeyExists,
    NoRecord,
    Bincode(BincodeError),
    Internal(GdbmError),
}

An error when interacting with a database.

Variants

The path was not a valid C String.

The key passed to store_safe existed in the database.

No item with this key exists in the database.

An error occured while encoding to or decoding from binary.

An error originating in the gdbm C library.

Methods

impl Error
[src]

[src]

Returns true iff self is the NoRecord enum member.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.