pub enum AuthNoticeError {
Recv,
SessionReset,
ProtocolError,
AuthenticationFailed(String),
ConnectionClosed,
OverlappingReauth,
MissingAuthenticationMethod,
}Variants§
Recv
SessionReset
ProtocolError
AuthenticationFailed(String)
ConnectionClosed
OverlappingReauth
MissingAuthenticationMethod
Trait Implementations§
Source§impl Clone for AuthNoticeError
impl Clone for AuthNoticeError
Source§fn clone(&self) -> AuthNoticeError
fn clone(&self) -> AuthNoticeError
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 AuthNoticeError
impl Debug for AuthNoticeError
Source§impl Display for AuthNoticeError
impl Display for AuthNoticeError
Source§impl Error for AuthNoticeError
impl Error for AuthNoticeError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<RecvError> for AuthNoticeError
impl From<RecvError> for AuthNoticeError
Source§impl PartialEq for AuthNoticeError
impl PartialEq for AuthNoticeError
Source§fn eq(&self, other: &AuthNoticeError) -> bool
fn eq(&self, other: &AuthNoticeError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AuthNoticeError
impl StructuralPartialEq for AuthNoticeError
Auto Trait Implementations§
impl Freeze for AuthNoticeError
impl RefUnwindSafe for AuthNoticeError
impl Send for AuthNoticeError
impl Sync for AuthNoticeError
impl Unpin for AuthNoticeError
impl UnsafeUnpin for AuthNoticeError
impl UnwindSafe for AuthNoticeError
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