pub async fn multi_stream_node_connection_to_async(
node: &Node,
rx: &mut (dyn AsyncRead + Unpin + Send),
tx: &mut (dyn AsyncWrite + Unpin + Send),
is_server: bool,
quality: Quality,
stream_errors_out: UnboundedSender<Error>,
remote_name: String,
) -> Result<()>
Expand description
Same as multi_stream_node_connection
but reads and writes to and from implementors of the
standard AsyncRead
and AsyncWrite
traits rather than circuit streams.