async fn handshake(
hs: HandshakeState,
stream: TcpStream,
) -> Result<(TcpStream, TransportState), NetworkError>Expand description
Perform a noise handshake as initiator with the remote party.
async fn handshake(
hs: HandshakeState,
stream: TcpStream,
) -> Result<(TcpStream, TransportState), NetworkError>Perform a noise handshake as initiator with the remote party.