circuit

Module multi_stream

Source

Functionsยง

  • Multiplexes multiple streams into one.
  • 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.
  • 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.