Enum mysql::Error [−][src]
pub enum Error { IoError(Error), MySqlError(MySqlError), DriverError(DriverError), UrlError(UrlError), FromValueError(Value), FromRowError(Row), }
Variants
IoError(Error)
MySqlError(MySqlError)
DriverError(DriverError)
UrlError(UrlError)
FromValueError(Value)
FromRowError(Row)
Trait Implementations
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<FromValueError> for Error
[src]
impl From<FromValueError> for Error
fn from(FromValueError: FromValueError) -> Error
[src]
fn from(FromValueError: FromValueError) -> Error
Performs the conversion.
impl From<FromRowError> for Error
[src]
impl From<FromRowError> for Error
fn from(FromRowError: FromRowError) -> Error
[src]
fn from(FromRowError: FromRowError) -> Error
Performs the conversion.
impl From<MissingNamedParameterError> for Error
[src]
impl From<MissingNamedParameterError> for Error
fn from(MissingNamedParameterError: MissingNamedParameterError) -> Error
[src]
fn from(MissingNamedParameterError: MissingNamedParameterError) -> Error
Performs the conversion.
impl From<MixedParamsError> for Error
[src]
impl From<MixedParamsError> for Error
fn from(_: MixedParamsError) -> Error
[src]
fn from(_: MixedParamsError) -> Error
Performs the conversion.
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<DriverError> for Error
[src]
impl From<DriverError> for Error
fn from(err: DriverError) -> Error
[src]
fn from(err: DriverError) -> Error
Performs the conversion.
impl From<MySqlError> for Error
[src]
impl From<MySqlError> for Error
fn from(x: MySqlError) -> Error
[src]
fn from(x: MySqlError) -> Error
Performs the conversion.
impl From<Error> for Error
[src]
impl From<Error> for Error
impl From<UrlError> for Error
[src]
impl From<UrlError> for Error
impl<T> From<PoisonError<T>> for Error
[src]
impl<T> From<PoisonError<T>> for Error
fn from(_: PoisonError<T>) -> Error
[src]
fn from(_: PoisonError<T>) -> Error
Performs the conversion.
impl Display for Error
[src]
impl Display for Error
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 Debug for Error
[src]
impl Debug for Error