Struct mysql_common::packets::HandshakePacket [] [src]

pub struct HandshakePacket<'a> { /* fields omitted */ }

Represents MySql's initial handshake packet.

Methods

impl<'a> HandshakePacket<'a>
[src]

Value of the protocol_version field of an initial handshake packet.

Value of the server_version field of an initial handshake packet as a byte slice.

Value of the server_version field of an initial handshake packet as a string (lossy converted).

Parsed server version.

Will parse first \d+.\d+.\d+ of a server version string (if any).

Parsed mariadb server version.

Value of the connection_id field of an initial handshake packet.

Value of the scramble_1 field of an initial handshake packet as a byte slice.

Value of the scramble_2 field of an initial handshake packet as a byte slice.

Value of a server capabilities.

Value of the default_collation field of an initial handshake packet.

Value of a status flags.

Value of the auth_plugin_name field of an initial handshake packet as a byte slice.

Value of the auth_plugin_name field of an initial handshake packet as a string (lossy converted).