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 + 'staticwhere
    S: 'static + AsyncWrite + Send + Unpin,
    R: 'static + AsyncRead + Send + Unpin,
Expand description

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