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
IoErr(Error)
An IO error occured during reading or writing. The contained error is
guaranteed to not have kind WouldBlock
.
InvalidChallenge
Received an invalid challenge from the client.
InvalidAuth
Received invalid authentication from the client.