#[non_exhaustive]pub enum AuthMechanism {
Plain,
Login,
GSSAPI,
CramMD5,
CramSHA1,
ScramMD5,
DigestMD5,
NTLM,
Other(String),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for AuthMechanism
impl Clone for AuthMechanism
Source§fn clone(&self) -> AuthMechanism
fn clone(&self) -> AuthMechanism
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthMechanism
impl Debug for AuthMechanism
Source§impl PartialEq for AuthMechanism
impl PartialEq for AuthMechanism
impl Eq for AuthMechanism
impl StructuralPartialEq for AuthMechanism
Auto Trait Implementations§
impl Freeze for AuthMechanism
impl RefUnwindSafe for AuthMechanism
impl Send for AuthMechanism
impl Sync for AuthMechanism
impl Unpin for AuthMechanism
impl UnwindSafe for AuthMechanism
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