Enum mysql_common::packets::AuthPlugin
source · Expand description
Authentication plugin
Variants
MysqlNativePassword
Legacy authentication plugin
CachingSha2Password
Default since MySql v8.0.4
Other(Cow<'a, [u8]>)
Implementations
sourceimpl<'a> AuthPlugin<'a>
impl<'a> AuthPlugin<'a>
pub fn from_bytes(name: &'a [u8]) -> AuthPlugin<'a>
pub fn as_bytes(&self) -> &[u8]ⓘ
pub fn into_owned(self) -> AuthPlugin<'static>
Trait Implementations
sourceimpl<'a> Clone for AuthPlugin<'a>
impl<'a> Clone for AuthPlugin<'a>
sourcefn clone(&self) -> AuthPlugin<'a>
fn clone(&self) -> AuthPlugin<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for AuthPlugin<'a>
impl<'a> Debug for AuthPlugin<'a>
sourceimpl<'a> Hash for AuthPlugin<'a>
impl<'a> Hash for AuthPlugin<'a>
sourceimpl<'a> PartialEq<AuthPlugin<'a>> for AuthPlugin<'a>
impl<'a> PartialEq<AuthPlugin<'a>> for AuthPlugin<'a>
sourcefn eq(&self, other: &AuthPlugin<'a>) -> bool
fn eq(&self, other: &AuthPlugin<'a>) -> bool
impl<'a> Eq for AuthPlugin<'a>
impl<'a> StructuralEq for AuthPlugin<'a>
impl<'a> StructuralPartialEq for AuthPlugin<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AuthPlugin<'a>
impl<'a> Send for AuthPlugin<'a>
impl<'a> Sync for AuthPlugin<'a>
impl<'a> Unpin for AuthPlugin<'a>
impl<'a> UnwindSafe for AuthPlugin<'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