Function handshake

Source
pub async fn handshake<R: AsyncRead + Unpin, W: AsyncWrite + Unpin>(
    rx: R,
    tx: W,
) -> Result<()>