Module multi_stream

Source

Functionsยง

multi_stream
Multiplexes multiple streams into one.
multi_stream_node_connection
Creates a new connection to a circuit node, and merges all streams produced and consumed by that connection into a multi-stream. In this way you can service a connection between nodes with a single stream of bytes.
multi_stream_node_connection_to_async
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.