Enum scram::server::AuthenticationStatus [−][src]
pub enum AuthenticationStatus { Authenticated, NotAuthenticated, NotAuthorized, }
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
impl Clone for AuthenticationStatus
[src]
impl Clone for AuthenticationStatus
fn clone(&self) -> AuthenticationStatus
[src]
fn clone(&self) -> AuthenticationStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for AuthenticationStatus
[src]
impl Copy for AuthenticationStatus
impl PartialEq for AuthenticationStatus
[src]
impl PartialEq for AuthenticationStatus
fn eq(&self, other: &AuthenticationStatus) -> bool
[src]
fn eq(&self, other: &AuthenticationStatus) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Debug for AuthenticationStatus
[src]
impl Debug for AuthenticationStatus
Auto Trait Implementations
impl Send for AuthenticationStatus
impl Send for AuthenticationStatus
impl Sync for AuthenticationStatus
impl Sync for AuthenticationStatus