pub struct HandshakeV10Short {
pub server_version: String,
pub connection_id: u32,
pub auth_plugin_data_part_1: [u8; 8],
pub capability_flags: CapabilityFlags,
}Expand description
Handshake V10(least common payload): https://dev.mysql.com/doc/internals/en/connection-phase-packets.html
Fields§
§server_version: StringHuman readable server version text
connection_id: u32Connection ID
auth_plugin_data_part_1: [u8; 8]Data for Authentication Plugin(first 8 bytes)
capability_flags: CapabilityFlagsServer capability flags
Trait Implementations§
Source§impl Debug for HandshakeV10Short
impl Debug for HandshakeV10Short
Source§impl From<RawHandshakeV10Short> for HandshakeV10Short
impl From<RawHandshakeV10Short> for HandshakeV10Short
Source§fn from(raw: RawHandshakeV10Short) -> Self
fn from(raw: RawHandshakeV10Short) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HandshakeV10Short
impl RefUnwindSafe for HandshakeV10Short
impl Send for HandshakeV10Short
impl Sync for HandshakeV10Short
impl Unpin for HandshakeV10Short
impl UnwindSafe for HandshakeV10Short
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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