Enum galvanize::types::Error [] [src]

pub enum Error {
    CDBTooSmall,
    KeyNotInCDB,
    IOError(IOError),
}

An error in the interaction with the CDB.

Variants

The CDB is under 2048 bytes. The file being read is not a valid CDB.

The key being fetched isn't in the CDB.

There was an error accessing the file. It wraps the original std::io::Error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

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

impl From<IOError> for Error
[src]

Allows seamless conversion from a galvanize::Error into an std::io::Error. This way, the try!() macro can be used directly.

Performs the conversion.