Skip to main content

HandshakeRole

Trait HandshakeRole 

pub trait HandshakeRole { }
Available on crate features handshake and ws only.
Expand description

Handshake role.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

§

impl<S, C> HandshakeRole for ServerHandshake<S, C>
where S: Read + Write, C: Callback,

§

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