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
Auto Trait Implementations
impl RefUnwindSafe for Handshake
impl Send for Handshake
impl Sync for Handshake
impl Unpin for Handshake
impl UnwindSafe for Handshake
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more