pub struct Handshake {
    pub protocol_version: u8,
    pub server_version: String,
    pub connection_id: u32,
    pub server_capabilities: Capabilities,
    pub server_default_collation: u8,
    pub status: Status,
    pub auth_plugin: Option<AuthPlugin>,
    pub auth_plugin_data: Chain<Bytes, Bytes>,
}

Fields

protocol_version: u8server_version: Stringconnection_id: u32server_capabilities: Capabilitiesserver_default_collation: u8status: Statusauth_plugin: Option<AuthPlugin>auth_plugin_data: Chain<Bytes, Bytes>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.