Enum mysql::DriverError
source · pub enum DriverError {
Show 19 variants
ConnectTimeout,
CouldNotConnect(Option<(String, String, ErrorKind)>),
UnsupportedProtocol(u8),
PacketOutOfSync,
PacketTooLarge,
Protocol41NotSet,
UnexpectedPacket,
MismatchedStmtParams(u16, usize),
InvalidPoolConstraints,
SetupError,
SslNotSupported,
CouldNotParseVersion,
ReadOnlyTransNotSupported,
PoisonedPoolMutex,
Timeout,
MissingNamedParameter(String),
NamedParamsForPositionalQuery,
MixedParams,
UnknownAuthPlugin(String),
}
Variants§
ConnectTimeout
CouldNotConnect(Option<(String, String, ErrorKind)>)
UnsupportedProtocol(u8)
PacketOutOfSync
PacketTooLarge
Protocol41NotSet
UnexpectedPacket
MismatchedStmtParams(u16, usize)
InvalidPoolConstraints
SetupError
SslNotSupported
CouldNotParseVersion
ReadOnlyTransNotSupported
PoisonedPoolMutex
Timeout
MissingNamedParameter(String)
NamedParamsForPositionalQuery
MixedParams
UnknownAuthPlugin(String)
Trait Implementations§
source§impl Clone for DriverError
impl Clone for DriverError
source§fn clone(&self) -> DriverError
fn clone(&self) -> DriverError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DriverError
impl Debug for DriverError
source§impl Display for DriverError
impl Display for DriverError
source§impl Error for DriverError
impl Error for DriverError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
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.