#[non_exhaustive]pub enum AuthenticationErrorKind {
Rejected,
Exhausted,
Partial,
UnsupportedMethod,
Unavailable,
}Expand description
Authentication failure category.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Rejected
Credentials were rejected.
Exhausted
All configured credentials were exhausted.
Partial
Authentication partially succeeded but did not complete.
UnsupportedMethod
Requested authentication method is unsupported.
Authentication could not be attempted.
Trait Implementations§
Source§impl Clone for AuthenticationErrorKind
impl Clone for AuthenticationErrorKind
Source§fn clone(&self) -> AuthenticationErrorKind
fn clone(&self) -> AuthenticationErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthenticationErrorKind
impl Debug for AuthenticationErrorKind
Source§impl Hash for AuthenticationErrorKind
impl Hash for AuthenticationErrorKind
Source§impl PartialEq for AuthenticationErrorKind
impl PartialEq for AuthenticationErrorKind
Source§fn eq(&self, other: &AuthenticationErrorKind) -> bool
fn eq(&self, other: &AuthenticationErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AuthenticationErrorKind
impl Eq for AuthenticationErrorKind
impl StructuralPartialEq for AuthenticationErrorKind
Auto Trait Implementations§
impl Freeze for AuthenticationErrorKind
impl RefUnwindSafe for AuthenticationErrorKind
impl Send for AuthenticationErrorKind
impl Sync for AuthenticationErrorKind
impl Unpin for AuthenticationErrorKind
impl UnsafeUnpin for AuthenticationErrorKind
impl UnwindSafe for AuthenticationErrorKind
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