Enum tungstenite::handshake::HandshakeError
[−]
[src]
pub enum HandshakeError<Stream, Role> { Interrupted(MidHandshake<Stream, Role>), Failure(Error), }
A handshake result.
Variants
Interrupted(MidHandshake<Stream, Role>)
Handshake was interrupted (would block).
Failure(Error)
Handshake failed.
Trait Implementations
impl<Stream, Role> Debug for HandshakeError<Stream, Role>
[src]
impl<Stream, Role> Display for HandshakeError<Stream, Role>
[src]
impl<Stream, Role> ErrorTrait for HandshakeError<Stream, Role>
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more