Enum mysql::DriverError [−][src]
pub enum DriverError { 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
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 Eq for DriverError
[src]
impl Eq for DriverError
impl PartialEq for DriverError
[src]
impl PartialEq for DriverError
fn eq(&self, other: &DriverError) -> bool
[src]
fn eq(&self, other: &DriverError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DriverError) -> bool
[src]
fn ne(&self, other: &DriverError) -> bool
This method tests for !=
.
impl Clone for DriverError
[src]
impl Clone for DriverError
fn clone(&self) -> DriverError
[src]
fn clone(&self) -> DriverError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Error for DriverError
[src]
impl Error for DriverError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for DriverError
[src]
impl Display for DriverError
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 DriverError
[src]
impl Debug for DriverError
Auto Trait Implementations
impl Send for DriverError
impl Send for DriverError
impl Sync for DriverError
impl Sync for DriverError