Module remoc::chmux

source ·
Expand description

Low-level channel multiplexer.

Multiplexes multiple binary channels over a single binary channel (anything that implements Sink and Stream). A connection is established by calling ChMux::new.

You probably do not want to use this module directly. Instead use methods from Connect to establish a connection over a physical transport and work with high-level remote channels.

§Protocol version compatibility

Two endpoints can only communicate if they have the same protocol version. A change in protocol version will be accompanied by an increase of the major version number of the Remoc crate.

Structs§

  • Stores arbitrary data indexed by automatically generated keys.
  • Channel multiplexer configuration.
  • Channel multiplexer.
  • Sends chunks of a message to the remote endpoint.
  • Multiplexer client.
  • This future resolves when the remote endpoint has closed its receiver.
  • An outstanding connection request.
  • A buffer containing received data.
  • Multiplexer listener.
  • A stream accepting connections and returning senders and receivers.
  • Local port number allocator.
  • An allocated local port number.
  • A port connection request by the local endpoint.
  • Receives byte data over a channel.
  • A stream receiving byte data over a channel.
  • A connection request by the remote endpoint.
  • Sends byte data over a channel.
  • A sink sending byte data over a channel.

Enums§

Constants§

Type Aliases§