Enum theban_db::dberror::DBError
[−]
pub enum DBError { Protocol(String), FileFormat(String), ParseString(String), ParseValue(ValueReadError), SendValue(ValueWriteError), UTF8(FromUtf8Error), IO(Error), }
Variants
Protocol(String)
FileFormat(String)
ParseString(String)
ParseValue(ValueReadError)
SendValue(ValueWriteError)
UTF8(FromUtf8Error)
IO(Error)
Trait Implementations
impl Debug for DBError
[src]
impl Display for DBError
impl Error for DBError
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<ValueReadError> for DBError
fn from(err: ValueReadError) -> DBError
Performs the conversion.
impl From<ValueWriteError> for DBError
fn from(err: ValueWriteError) -> DBError
Performs the conversion.
impl From<FromUtf8Error> for DBError
fn from(err: FromUtf8Error) -> DBError
Performs the conversion.