Enum gdbm::GdbmError
[−]
[src]
pub enum GdbmError { FromUtf8Error(FromUtf8Error), Utf8Error(Utf8Error), NulError(NulError), Error(String), IoError(Error), IntoStringError(IntoStringError), }
Custom error handling for the library
Variants
FromUtf8Error(FromUtf8Error)
Utf8Error(Utf8Error)
NulError(NulError)
Error(String)
IoError(Error)
IntoStringError(IntoStringError)
Methods
impl GdbmError
[src]
Trait Implementations
impl Debug for GdbmError
[src]
impl Display for GdbmError
[src]
impl err for GdbmError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&err>
The lower-level cause of this error, if any. Read more
impl From<NulError> for GdbmError
[src]
impl From<FromUtf8Error> for GdbmError
[src]
fn from(err: FromUtf8Error) -> GdbmError
Performs the conversion.
impl From<Utf8Error> for GdbmError
[src]
impl From<IntoStringError> for GdbmError
[src]
fn from(err: IntoStringError) -> GdbmError
Performs the conversion.