pub fn new_async_io_lair_client<S, R>(
    send: S,
    recv: R,
    srv_id_pub_key: BufReadSized<32>
) -> impl Future<Output = Result<LairClient, OneErr>> + Send + 'static
where S: AsyncWrite + 'static + Send + Unpin, R: AsyncRead + 'static + Send + Unpin,
Expand description

Wrap a raw tokio::io::Async{Read, Write} channel into a LairClient.