1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/// Error
#[derive(Debug)]
pub enum MysqlError {
/// Invalid auth plugin bytes
InvalidAuthPluginBytes,
/// Invalid auth switch bytes
InvalidAuthSwitchBytes,
/// Invalid binary row bytes
InvalidBinaryRowBytes,
/// Invalid column bytes
InvalidColumnBytes,
/// Invalid connection bytes
InvalidConnectionBytes,
/// Invalid error packet response bytes
InvalidErrPacketResBytes,
/// Invalid handshake bytes
InvalidHandshakeBytes,
/// Invalid lenenc content bytes
InvalidLenencBytes,
/// Invalid lenenc bytes
InvalidLenencContentBytes,
/// Invalid OK bytes
InvalidOkBytes,
/// Invalid prepare bytes
InvalidPrepareBytes,
/// Invalid text row bytes
InvalidTextRowBytes,
/// Fetch command expected one result but got zero or more than one results
NonSingleFetch,
/// Unknown authentication method
UnknownAuthPlugin,
/// Unknown configuration parameter
UnknownConfigurationParameter,
/// Mysql server does not support SSL
UnsupportedServerSsl,
/// Payloads greater than (2^24 - 1) are unsupported
UnsupportedPayloadLen,
}