Function network::protocols::identity::exchange_handshake
source · pub async fn exchange_handshake<T>(
own_handshake: &HandshakeMsg,
socket: &mut T
) -> Result<HandshakeMsg>where
T: AsyncRead + AsyncWrite + Unpin,
Expand description
The Handshake exchange protocol.