pub struct OldAuthSwitchRequest { /* private fields */ }Expand description
Old Authentication Method Switch Request Packet.
Used for It is sent by server to request client to switch to Old Password Authentication
if CLIENT_PLUGIN_AUTH capability is not supported (by either the client or the server).
Implementations§
Source§impl OldAuthSwitchRequest
impl OldAuthSwitchRequest
pub fn new() -> Self
pub const fn auth_plugin(&self) -> AuthPlugin<'static>
Trait Implementations§
Source§impl Clone for OldAuthSwitchRequest
impl Clone for OldAuthSwitchRequest
Source§fn clone(&self) -> OldAuthSwitchRequest
fn clone(&self) -> OldAuthSwitchRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OldAuthSwitchRequest
impl Debug for OldAuthSwitchRequest
Source§impl Default for OldAuthSwitchRequest
impl Default for OldAuthSwitchRequest
Source§impl<'de> MyDeserialize<'de> for OldAuthSwitchRequest
impl<'de> MyDeserialize<'de> for OldAuthSwitchRequest
Source§impl MySerialize for OldAuthSwitchRequest
impl MySerialize for OldAuthSwitchRequest
Source§impl PartialEq for OldAuthSwitchRequest
impl PartialEq for OldAuthSwitchRequest
impl Eq for OldAuthSwitchRequest
impl StructuralPartialEq for OldAuthSwitchRequest
Auto Trait Implementations§
impl Freeze for OldAuthSwitchRequest
impl RefUnwindSafe for OldAuthSwitchRequest
impl Send for OldAuthSwitchRequest
impl Sync for OldAuthSwitchRequest
impl Unpin for OldAuthSwitchRequest
impl UnwindSafe for OldAuthSwitchRequest
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