handshake

Function handshake 

Source
async fn handshake(
    hs: HandshakeState,
    stream: TcpStream,
) -> Result<(TcpStream, TransportState), NetworkError>
Expand description

Perform a noise handshake as initiator with the remote party.