Struct sasl::mechanisms::Plain [] [src]

pub struct Plain { /* fields omitted */ }

A struct for the SASL PLAIN mechanism.

Methods

impl Plain
[src]

Constructs a new struct for authenticating using the SASL PLAIN mechanism.

It is recommended that instead you use a Credentials struct and turn it into the requested mechanism using from_credentials.

Trait Implementations

impl Mechanism for Plain
[src]

The name of the mechanism.

Creates this mechanism from Credentials.

Provides initial payload of the SASL mechanism.

Creates a response to the SASL challenge.

Verifies the server success response, if there is one.