Struct ClientHandshake

struct ClientHandshake<S> { ... }

Client handshake role.

Implementations

impl<S: Read + Write> ClientHandshake<S>

fn start(stream: S, request: Request, config: Option<WebSocketConfig>) -> Result<MidHandshake<Self>>

Initiate a client handshake.

impl<S> Freeze for ClientHandshake<S>

impl<S> RefUnwindSafe for ClientHandshake<S>

impl<S> Send for ClientHandshake<S>

impl<S> Sync for ClientHandshake<S>

impl<S> Unpin for ClientHandshake<S>

impl<S> UnsafeUnpin for ClientHandshake<S>

impl<S> UnwindSafe for ClientHandshake<S>

impl<S: $crate::fmt::Debug> Debug for ClientHandshake<S>

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl<S: Read + Write> HandshakeRole for ClientHandshake<S>

impl<T> Any for ClientHandshake<S>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ClientHandshake<S>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ClientHandshake<S>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for ClientHandshake<S>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> Same for ClientHandshake<S>

impl<T, U> Into for ClientHandshake<S>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ClientHandshake<S>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ClientHandshake<S>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl<V, T> VZip for ClientHandshake<S>

fn vzip(self: Self) -> V