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