pub struct Handshake {
pub server_version: String,
pub connection_id: u32,
pub scramble: Vec<u8>,
pub capabilities: u32,
pub charset: u8,
pub status: u16,
pub auth_plugin: String,
}Expand description
The server’s opening Handshake packet, protocol version 10.
Fields§
§server_version: String§connection_id: u32§scramble: Vec<u8>The 20-byte nonce every password plugin salts its digest with.
capabilities: u32§charset: u8§status: u16§auth_plugin: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Handshake
impl RefUnwindSafe for Handshake
impl Send for Handshake
impl Sync for Handshake
impl Unpin for Handshake
impl UnsafeUnpin for Handshake
impl UnwindSafe for Handshake
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more