[][src]Struct mysql_common::packets::HandshakeResponse

pub struct HandshakeResponse { /* fields omitted */ }

Methods

impl HandshakeResponse[src]

pub fn new(
    scramble_buf: &Option<impl AsRef<[u8]>>,
    server_version: (u16, u16, u16),
    user: Option<&str>,
    db_name: Option<&str>,
    auth_plugin: AuthPlugin,
    client_flags: CapabilityFlags
) -> HandshakeResponse
[src]

pub fn as_ref(&self) -> &[u8][src]

Trait Implementations

impl Debug for HandshakeResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self