pub enum AuthMechanism {
Plain,
ScramSha1,
ScramSha256,
ScramSha512,
OAuthBearer,
}Variants§
Trait Implementations§
Source§impl Clone for AuthMechanism
impl Clone for AuthMechanism
Source§fn clone(&self) -> AuthMechanism
fn clone(&self) -> AuthMechanism
Returns a duplicate 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 From<AuthMechanism> for AuthMechanism
impl From<AuthMechanism> for AuthMechanism
Source§fn from(value: AuthMechanism) -> Self
fn from(value: AuthMechanism) -> Self
Converts to this type from the input type.
Source§impl Hash for AuthMechanism
impl Hash for AuthMechanism
Source§impl Ord for AuthMechanism
impl Ord for AuthMechanism
Source§fn cmp(&self, other: &AuthMechanism) -> Ordering
fn cmp(&self, other: &AuthMechanism) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuthMechanism
impl PartialEq for AuthMechanism
Source§impl PartialOrd for AuthMechanism
impl PartialOrd for AuthMechanism
Source§impl TryFrom<&str> for AuthMechanism
impl TryFrom<&str> for AuthMechanism
impl Eq for AuthMechanism
impl StructuralPartialEq for AuthMechanism
Auto Trait Implementations§
impl Freeze for AuthMechanism
impl RefUnwindSafe for AuthMechanism
impl Send for AuthMechanism
impl Sync for AuthMechanism
impl Unpin for AuthMechanism
impl UnsafeUnpin 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