[][src]Module mysql_common::proto::codec

MySql protocol codec implementation.

Modules

error

Structs

Compression

When compressing data, the compression level can be specified by a value in this enum.

PacketCodec

Codec for MySql protocol packets.

Enums

ChunkDecoder

Decoder for MySql protocol chunk.

ChunkInfo

Chunk info.

CompData

Stores information about compressed packet being decoded.

CompDecoder

Decoder for MySql compressed packet.

Functions

compress

Will compress all data from src to dst.

packet_to_chunks

Will split given packet to MySql packet chunks and write into dst.