Enum tungstenite::handshake::HandshakeError [−][src]
pub enum HandshakeError<Role: HandshakeRole> {
Interrupted(MidHandshake<Role>),
Failure(Error),
}
Expand description
A handshake result.
Variants
Interrupted(MidHandshake<Role>)
Tuple Fields
0: MidHandshake<Role>
Handshake was interrupted (would block).
Failure(Error)
Tuple Fields
0: Error
Handshake failed.