Struct MidHandshake
struct MidHandshake<Role: HandshakeRole> { ... }
A WebSocket handshake.
Implementations
impl<Role: HandshakeRole> MidHandshake<Role>
fn get_ref(self: &Self) -> &HandshakeMachine<<Role as >::InternalStream>Allow access to machine
fn get_mut(self: &mut Self) -> &mut HandshakeMachine<<Role as >::InternalStream>Allow mutable access to machine
fn handshake(self: Self) -> Result<<Role as >::FinalResult, HandshakeError<Role>>Restarts the handshake process.
impl<Role> Freeze for MidHandshake<Role>
impl<Role> RefUnwindSafe for MidHandshake<Role>
impl<Role> Send for MidHandshake<Role>
impl<Role> Sync for MidHandshake<Role>
impl<Role> Unpin for MidHandshake<Role>
impl<Role> UnsafeUnpin for MidHandshake<Role>
impl<Role> UnwindSafe for MidHandshake<Role>
impl<Role: $crate::fmt::Debug + HandshakeRole> Debug for MidHandshake<Role>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<T> Any for MidHandshake<Role>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MidHandshake<Role>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MidHandshake<Role>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for MidHandshake<Role>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Same for MidHandshake<Role>
impl<T, U> Into for MidHandshake<Role>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for MidHandshake<Role>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MidHandshake<Role>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for MidHandshake<Role>
fn vzip(self: Self) -> V