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

The client has correctly authenticated, and has been authorized.

The client was not correctly authenticated, meaning they supplied an incorrect password.

The client authenticated correctly, but was not authorized for the alternate user they requested.

Trait Implementations

impl Clone for AuthenticationStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for AuthenticationStatus
[src]

impl PartialEq for AuthenticationStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for AuthenticationStatus
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations