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: u8§server_version: String§connection_id: u32§server_capabilities: Capabilities§server_default_collation: u8§status: Status§auth_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.