Enum tungstenite::handshake::HandshakeError [] [src]

pub enum HandshakeError<Stream, Role> {
    Interrupted(MidHandshake<Stream, Role>),
    Failure(Error),
}

A handshake result.

Variants

Handshake was interrupted (would block).

Handshake failed.

Trait Implementations

impl<Stream, Role> Debug for HandshakeError<Stream, Role>
[src]

Formats the value using the given formatter.

impl<Stream, Role> Display for HandshakeError<Stream, Role>
[src]

Formats the value using the given formatter. Read more

impl<Stream, Role> ErrorTrait for HandshakeError<Stream, Role>
[src]

A short description of the error. Read more

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

impl<Stream, Role> From<Error> for HandshakeError<Stream, Role>
[src]

Performs the conversion.