pub enum AuthenticationStatus {
Authenticated,
NotAuthenticated,
NotAuthorized,
}
Expand description
The status of authentication after the final client message has been received by the server.
Variants§
Authenticated
The client has correctly authenticated, and has been authorized.
NotAuthenticated
The client was not correctly authenticated, meaning they supplied an incorrect password.
NotAuthorized
The client authenticated correctly, but was not authorized for the alternate user they requested.
Trait Implementations§
Source§impl Clone for AuthenticationStatus
impl Clone for AuthenticationStatus
Source§fn clone(&self) -> AuthenticationStatus
fn clone(&self) -> AuthenticationStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AuthenticationStatus
impl Debug for AuthenticationStatus
Source§impl PartialEq for AuthenticationStatus
impl PartialEq for AuthenticationStatus
impl Copy for AuthenticationStatus
impl Eq for AuthenticationStatus
impl StructuralPartialEq for AuthenticationStatus
Auto Trait Implementations§
impl Freeze for AuthenticationStatus
impl RefUnwindSafe for AuthenticationStatus
impl Send for AuthenticationStatus
impl Sync for AuthenticationStatus
impl Unpin for AuthenticationStatus
impl UnwindSafe for AuthenticationStatus
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