Enum secret_handshake::AsyncServerHandshakeError [] [src]

pub enum AsyncServerHandshakeError {
    IoErr(Error),
    InvalidChallenge,
    InvalidAuth,
}

An error which occured during the asynchronous execution of a handshake.

Unlike a simple ServerHandshakeError, all of these are considered fatal, the handshake can not be resumed.

Variants

An IO error occured during reading or writing. The contained error is guaranteed to not have kind WouldBlock.

Received an invalid challenge from the client.

Received invalid authentication from the client.

Trait Implementations

impl Debug for AsyncServerHandshakeError
[src]

Formats the value using the given formatter.

impl Display for AsyncServerHandshakeError
[src]

Formats the value using the given formatter. Read more

impl Error for AsyncServerHandshakeError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more