Enum mysql::DriverError [] [src]

pub enum DriverError {
    CouldNotConnect(Option<(String, String, ErrorKind)>),
    UnsupportedProtocol(u8),
    PacketOutOfSync,
    PacketTooLarge,
    Protocol41NotSet,
    UnexpectedPacket,
    MismatchedStmtParams(u16, usize),
    InvalidPoolConstraints,
    SetupError,
    SslNotSupported,
    CouldNotParseVersion,
    ReadOnlyTransNotSupported,
    PoisonedPoolMutex,
    Timeout,
}

Variants

CouldNotConnect
UnsupportedProtocol
PacketOutOfSync
PacketTooLarge
Protocol41NotSet
UnexpectedPacket
MismatchedStmtParams
InvalidPoolConstraints
SetupError
SslNotSupported
CouldNotParseVersion
ReadOnlyTransNotSupported
PoisonedPoolMutex
Timeout

Trait Implementations

impl Error for DriverError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for DriverError

fn fmt(&self, f: &mut Formatter) -> Result

impl Debug for DriverError

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Clone for DriverError

fn clone(&self) -> DriverError

fn clone_from(&mut self, source: &Self)

impl PartialEq for DriverError

fn eq(&self, __arg_0: &DriverError) -> bool

fn ne(&self, __arg_0: &DriverError) -> bool

impl Eq for DriverError