Enum mailin_embedded::AuthMechanism
source · pub enum AuthMechanism {
Plain,
Login,
}
Expand description
Supported authentication mechanisms
Variants§
Trait Implementations§
source§impl Clone for AuthMechanism
impl Clone for AuthMechanism
source§fn clone(&self) -> AuthMechanism
fn clone(&self) -> AuthMechanism
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 Debug for AuthMechanism
impl Debug for AuthMechanism
source§impl PartialEq for AuthMechanism
impl PartialEq for AuthMechanism
source§fn eq(&self, other: &AuthMechanism) -> bool
fn eq(&self, other: &AuthMechanism) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AuthMechanism
impl StructuralPartialEq for AuthMechanism
Auto Trait Implementations§
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