Enum imap_codec::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> Encode for AuthMechanism<'a>
impl<'a> Encode for AuthMechanism<'a>
source§impl<'a> From<Atom<'a>> for AuthMechanism<'a>
impl<'a> From<Atom<'a>> for AuthMechanism<'a>
source§fn from(inner: Atom<'a>) -> AuthMechanism<'a>
fn from(inner: Atom<'a>) -> AuthMechanism<'a>
Converts to this type from the input type.
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 ==.