Struct tungstenite::handshake::MidHandshake [−][src]
pub struct MidHandshake<Role: HandshakeRole> { /* fields omitted */ }
A WebSocket handshake.
Methods
impl<Role: HandshakeRole> MidHandshake<Role>
[src]
impl<Role: HandshakeRole> MidHandshake<Role>
pub fn handshake(self) -> Result<Role::FinalResult, HandshakeError<Role>>
[src]
pub fn handshake(self) -> Result<Role::FinalResult, HandshakeError<Role>>
Restarts the handshake process.
Trait Implementations
impl<Role: Debug + HandshakeRole> Debug for MidHandshake<Role> where
Role::InternalStream: Debug,
[src]
impl<Role: Debug + HandshakeRole> Debug for MidHandshake<Role> where
Role::InternalStream: Debug,
Auto Trait Implementations
impl<Role> Send for MidHandshake<Role> where
Role: Send,
<Role as HandshakeRole>::InternalStream: Send,
impl<Role> Send for MidHandshake<Role> where
Role: Send,
<Role as HandshakeRole>::InternalStream: Send,
impl<Role> Sync for MidHandshake<Role> where
Role: Sync,
<Role as HandshakeRole>::InternalStream: Sync,
impl<Role> Sync for MidHandshake<Role> where
Role: Sync,
<Role as HandshakeRole>::InternalStream: Sync,