Module mysql_common::packets [] [src]

Structs

Column

Represents MySql Column (column packet).

HandshakePacket

Represents MySql's initial handshake packet.

HandshakeResponse
LocalInfilePacket

Represents MySql's local infile packet.

OkPacket

Represents MySql's Ok packet.

PacketParser

Incremental packet parser.

ProgressReport

Progress report information (may be in an error packet of MariaDB server).

RawPacket

Raw mysql packet

SessionStateInfo

Represents change in session state (part of MySql's Ok packet).

SslRequest
StmtPacket

Represents MySql's statement packet.

Enums

ErrPacket

MySql error packet.

ParseResult
SessionStateChange

Represents parsed change in session state (part of MySql's Ok packet).

Functions

column_from_payload

Converts column-packet payload to an instance of Column structure.

parse_err_packet

Parses error packet from payload assuming passed client-server capabilities.

parse_handshake_packet

Parses payload as an initial handshake packet.

parse_local_infile_packet

Will parse payload as a local infile packet.

parse_ok_packet

Parses Ok packet from payload assuming passed client-server capabilities.

parse_stmt_packet

Parses payload as a statement packet.