Enum imap_types::message::AuthMechanism
source · pub enum AuthMechanism<'a> {
Plain,
Login,
Other(AuthMechanismOther<'a>),
}Expand description
Note: Defined by [SASL]
Variants§
Trait Implementations§
source§impl<'a> Clone for AuthMechanism<'a>
impl<'a> Clone for AuthMechanism<'a>
source§fn clone(&self) -> AuthMechanism<'a>
fn clone(&self) -> AuthMechanism<'a>
Returns a copy 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<'a> Debug for AuthMechanism<'a>
impl<'a> Debug for AuthMechanism<'a>
source§impl<'a> From<Atom<'a>> for AuthMechanism<'a>
impl<'a> From<Atom<'a>> for AuthMechanism<'a>
source§impl<'a> Hash for AuthMechanism<'a>
impl<'a> Hash for AuthMechanism<'a>
source§impl<'a> PartialEq<AuthMechanism<'a>> for AuthMechanism<'a>
impl<'a> PartialEq<AuthMechanism<'a>> for AuthMechanism<'a>
source§fn eq(&self, other: &AuthMechanism<'a>) -> bool
fn eq(&self, other: &AuthMechanism<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<'a> TryFrom<&'a [u8]> for AuthMechanism<'a>
impl<'a> TryFrom<&'a [u8]> for AuthMechanism<'a>
source§impl<'a> TryFrom<&'a str> for AuthMechanism<'a>
impl<'a> TryFrom<&'a str> for AuthMechanism<'a>
source§impl<'a> TryFrom<String> for AuthMechanism<'a>
impl<'a> TryFrom<String> for AuthMechanism<'a>
impl<'a> Eq for AuthMechanism<'a>
impl<'a> StructuralEq for AuthMechanism<'a>
impl<'a> StructuralPartialEq for AuthMechanism<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AuthMechanism<'a>
impl<'a> Send for AuthMechanism<'a>
impl<'a> Sync for AuthMechanism<'a>
impl<'a> Unpin for AuthMechanism<'a>
impl<'a> UnwindSafe for AuthMechanism<'a>
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