Function network::protocols::identity::exchange_handshake[][src]

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.