Enum imap_types::message::AuthMechanism
source · [−]pub enum AuthMechanism<'a> {
Plain,
Login,
Other(AuthMechanismOther<'a>),
}Expand description
Note: Defined by [SASL]
Variants
Plain
Login
Other(AuthMechanismOther<'a>)
Implementations
sourceimpl<'a> AuthMechanism<'a>
impl<'a> AuthMechanism<'a>
Trait Implementations
sourceimpl<'a> Clone for AuthMechanism<'a>
impl<'a> Clone for AuthMechanism<'a>
sourcefn clone(&self) -> AuthMechanism<'a>
fn clone(&self) -> AuthMechanism<'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 more
sourceimpl<'a> Debug for AuthMechanism<'a>
impl<'a> Debug for AuthMechanism<'a>
sourceimpl<'a> Encode for AuthMechanism<'a>
impl<'a> Encode for AuthMechanism<'a>
sourceimpl<'a> From<Atom<'a>> for AuthMechanism<'a>
impl<'a> From<Atom<'a>> for AuthMechanism<'a>
sourceimpl<'a> Hash for AuthMechanism<'a>
impl<'a> Hash for AuthMechanism<'a>
sourceimpl<'a> PartialEq<AuthMechanism<'a>> for AuthMechanism<'a>
impl<'a> PartialEq<AuthMechanism<'a>> for AuthMechanism<'a>
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &AuthMechanism<'a>) -> bool
fn ne(&self, other: &AuthMechanism<'a>) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a str> for AuthMechanism<'a>
impl<'a> TryFrom<&'a str> for AuthMechanism<'a>
sourceimpl<'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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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