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

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

A handshake result.

Variants

Handshake was interrupted (would block).

Handshake failed.

Trait Implementations

impl<Role: HandshakeRole> Debug for HandshakeError<Role>
[src]

[src]

Formats the value using the given formatter.

impl<Role: HandshakeRole> Display for HandshakeError<Role>
[src]

[src]

Formats the value using the given formatter. Read more

impl<Role: HandshakeRole> ErrorTrait for HandshakeError<Role>
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl<Role: HandshakeRole> From<Error> for HandshakeError<Role>
[src]

[src]

Performs the conversion.