Enum galvanize::types::Error
[−]
[src]
pub enum Error { CDBTooSmall, KeyNotInCDB, IOError(IOError), }
An error in the interaction with the CDB.
Variants
CDBTooSmall
The CDB is under 2048 bytes. The file being read is not a valid CDB.
KeyNotInCDB
The key
being fetched isn't in the CDB.
IOError(IOError)
There was an error accessing the file. It wraps the original
std::io::Error
.
Trait Implementations
impl Debug for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
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.