pub enum AuthType {
None,
MD2,
MD5,
Key,
}Expand description
The authentication type that is used.
Variants§
Implementations§
Source§impl AuthType
impl AuthType
Sourcepub fn compare_strength(&self, other: &AuthType) -> Ordering
pub fn compare_strength(&self, other: &AuthType) -> Ordering
Compare the strength of an authentication type. Ordering::Greater means
that self is stronger than other.
Trait Implementations§
impl Copy for AuthType
impl StructuralPartialEq for AuthType
Auto Trait Implementations§
impl Freeze for AuthType
impl RefUnwindSafe for AuthType
impl Send for AuthType
impl Sync for AuthType
impl Unpin for AuthType
impl UnwindSafe for AuthType
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