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§
source§impl Error for Error
impl Error for Error
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§impl From<DriverError> for Error
impl From<DriverError> for Error
source§fn from(err: DriverError) -> Error
fn from(err: DriverError) -> Error
Converts to this type from the input type.
source§impl From<FromRowError> for Error
impl From<FromRowError> for Error
source§fn from(FromRowError: FromRowError) -> Error
fn from(FromRowError: FromRowError) -> Error
Converts to this type from the input type.
source§impl From<FromValueError> for Error
impl From<FromValueError> for Error
source§fn from(FromValueError: FromValueError) -> Error
fn from(FromValueError: FromValueError) -> Error
Converts to this type from the input type.
source§impl From<MissingNamedParameterError> for Error
impl From<MissingNamedParameterError> for Error
source§fn from(MissingNamedParameterError: MissingNamedParameterError) -> Error
fn from(MissingNamedParameterError: MissingNamedParameterError) -> Error
Converts to this type from the input type.
source§impl From<MixedParamsError> for Error
impl From<MixedParamsError> for Error
source§fn from(_: MixedParamsError) -> Error
fn from(_: MixedParamsError) -> Error
Converts to this type from the input type.
source§impl From<MySqlError> for Error
impl From<MySqlError> for Error
source§fn from(x: MySqlError) -> Error
fn from(x: MySqlError) -> Error
Converts to this type from the input type.
source§impl<T> From<PoisonError<T>> for Error
impl<T> From<PoisonError<T>> for Error
source§fn from(_: PoisonError<T>) -> Error
fn from(_: PoisonError<T>) -> Error
Converts to this type from the input type.