Function holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::lair_keystore_api::lair_client::async_io::new_async_io_lair_client
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.