Enum mysql_async::DriverError[][src]

pub enum DriverError {
    CantParseServerVersion {
        version_string: String,
    },
    ConnectionClosed,
    FromValue {
        value: Value,
    },
    FromRow {
        row: Row,
    },
    MissingNamedParam {
        name: String,
    },
    MixedParams,
    NamedParamsForPositionalQuery,
    NestedTransaction,
    NoLocalInfileHandler,
    PacketOutOfOrder,
    PoolDisconnected,
    ReadOnlyTransNotSupported,
    StmtParamsMismatch {
        required: u16,
        supplied: u16,
    },
    UnexpectedPacket {
        payload: Vec<u8>,
    },
    UnknownAuthPlugin {
        name: String,
    },
    PacketTooLarge,
    BadCompressedPacketHeader,
    NamedPipesDisabled,
}

This type enumerates driver errors.

Variants

CantParseServerVersion

Fields of CantParseServerVersion

version_string: String
ConnectionClosed
FromValue

Fields of FromValue

value: Value
FromRow

Fields of FromRow

row: Row
MissingNamedParam

Fields of MissingNamedParam

name: String
MixedParams
NamedParamsForPositionalQuery
NestedTransaction
NoLocalInfileHandler
PacketOutOfOrder
PoolDisconnected
ReadOnlyTransNotSupported
StmtParamsMismatch

Fields of StmtParamsMismatch

required: u16supplied: u16
UnexpectedPacket

Fields of UnexpectedPacket

payload: Vec<u8>
UnknownAuthPlugin

Fields of UnknownAuthPlugin

name: String
PacketTooLarge
BadCompressedPacketHeader
NamedPipesDisabled

Trait Implementations

impl Clone for DriverError[src]

impl Debug for DriverError[src]

impl Display for DriverError[src]

impl Error for DriverError[src]

impl From<DriverError> for Error[src]

impl From<MissingNamedParameterError> for DriverError[src]

impl From<MixedParamsError> for DriverError[src]

impl PartialEq<DriverError> for DriverError[src]

impl StructuralPartialEq for DriverError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,