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]
fn clone(&self) -> AuthenticationStatus
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for AuthenticationStatus
[src]
impl PartialEq for AuthenticationStatus
[src]
fn eq(&self, __arg_0: &AuthenticationStatus) -> bool
[src]
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]
This method tests for !=
.