pub enum AuthFailureReason {
SessionReset,
ProtocolError,
AuthenticationFailed(String),
ConnectionClosed,
OverlappingReauth,
MissingAuthenticationMethod,
NoticeDropped,
}Expand description
Structured reason emitted when an authentication exchange fails.
Variants§
SessionReset
ProtocolError
AuthenticationFailed(String)
ConnectionClosed
OverlappingReauth
MissingAuthenticationMethod
NoticeDropped
Trait Implementations§
Source§impl Clone for AuthFailureReason
impl Clone for AuthFailureReason
Source§fn clone(&self) -> AuthFailureReason
fn clone(&self) -> AuthFailureReason
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 AuthFailureReason
impl Debug for AuthFailureReason
Source§impl PartialEq for AuthFailureReason
impl PartialEq for AuthFailureReason
Source§fn eq(&self, other: &AuthFailureReason) -> bool
fn eq(&self, other: &AuthFailureReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthFailureReason
impl StructuralPartialEq for AuthFailureReason
Auto Trait Implementations§
impl Freeze for AuthFailureReason
impl RefUnwindSafe for AuthFailureReason
impl Send for AuthFailureReason
impl Sync for AuthFailureReason
impl Unpin for AuthFailureReason
impl UnsafeUnpin for AuthFailureReason
impl UnwindSafe for AuthFailureReason
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