[][src]Module ssb_handshake::sync

Experimental synchronous implementation, using genio Read/Write traits, mostly for no_std environments.

Functions

client_side
server_side

Perform the server side of the handshake using the given AsyncRead + AsyncWrite stream. Closes the stream on handshake failure.