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> Debug for HandshakeError<Role>
[src]impl<Role: HandshakeRole> Display for HandshakeError<Role>
[src]
impl<Role: HandshakeRole> Display for HandshakeError<Role>
[src]impl<Role: HandshakeRole> Error for HandshakeError<Role>
[src]
impl<Role: HandshakeRole> Error for HandshakeError<Role>
[src]impl<Role: HandshakeRole> From<Error> for HandshakeError<Role>
[src]
impl<Role: HandshakeRole> From<Error> for HandshakeError<Role>
[src]Auto Trait Implementations
impl<Role> !RefUnwindSafe for HandshakeError<Role>
impl<Role> Send for HandshakeError<Role> where
Role: Send,
<Role as HandshakeRole>::InternalStream: Send,
Role: Send,
<Role as HandshakeRole>::InternalStream: Send,
impl<Role> Sync for HandshakeError<Role> where
Role: Sync,
<Role as HandshakeRole>::InternalStream: Sync,
Role: Sync,
<Role as HandshakeRole>::InternalStream: Sync,
impl<Role> Unpin for HandshakeError<Role> where
Role: Unpin,
<Role as HandshakeRole>::InternalStream: Unpin,
Role: Unpin,
<Role as HandshakeRole>::InternalStream: Unpin,