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]
impl GdbmError
Trait Implementations
impl Debug for GdbmError
[src]
impl Debug for GdbmError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for GdbmError
[src]
impl Display for GdbmError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl err for GdbmError
[src]
impl err for GdbmError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&err>
[src]
fn cause(&self) -> Option<&err>
The lower-level cause of this error, if any. Read more
impl From<NulError> for GdbmError
[src]
impl From<NulError> for GdbmError
impl From<FromUtf8Error> for GdbmError
[src]
impl From<FromUtf8Error> for GdbmError
fn from(err: FromUtf8Error) -> GdbmError
[src]
fn from(err: FromUtf8Error) -> GdbmError
Performs the conversion.
impl From<Utf8Error> for GdbmError
[src]
impl From<Utf8Error> for GdbmError
impl From<IntoStringError> for GdbmError
[src]
impl From<IntoStringError> for GdbmError
fn from(err: IntoStringError) -> GdbmError
[src]
fn from(err: IntoStringError) -> GdbmError
Performs the conversion.
impl From<Error> for GdbmError
[src]
impl From<Error> for GdbmError