on_handshake

Function on_handshake 

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

Perform a noise handshake as responder with a remote party.