Struct scram_tmp::client::ServerFirst[][src]

pub struct ServerFirst<'a> { /* fields omitted */ }

The second state of the SCRAM mechanism after the first client message was computed.

Methods

impl<'a> ServerFirst<'a>
[src]

Processes the first answer from the server and returns the next state or an error. If an error is returned the SCRAM handshake is aborted.

Call the ClientFinal::client_final method to continue the handshake.

Return value

This method returns only a subset of the errors defined in Error:

  • Error::Protocol
  • Error::UnsupportedExtension

Trait Implementations

impl<'a> Debug for ServerFirst<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for ServerFirst<'a>

impl<'a> Sync for ServerFirst<'a>