Struct mysql_common::packets::AuthSwitchRequest
source · pub struct AuthSwitchRequest<'a> { /* private fields */ }
Expand description
Authentication Method Switch Request Packet.
If both server and client support CLIENT_PLUGIN_AUTH
capability, server can send this packet
to ask client to use another authentication method.
Implementations
sourceimpl<'a> AuthSwitchRequest<'a>
impl<'a> AuthSwitchRequest<'a>
pub fn auth_plugin(&self) -> &AuthPlugin<'_>
pub fn plugin_data(&self) -> &[u8]ⓘ
pub fn into_owned(self) -> AuthSwitchRequest<'static>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for AuthSwitchRequest<'a>
impl<'a> Send for AuthSwitchRequest<'a>
impl<'a> Sync for AuthSwitchRequest<'a>
impl<'a> Unpin for AuthSwitchRequest<'a>
impl<'a> UnwindSafe for AuthSwitchRequest<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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