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§
- Channel multiplexer error.
- An error occurred during connecting to a remote service.
- An error occurred during forwarding of a message.
- An multiplexer listener error.
- Behavior when ports are exhausted and a connect is requested.
- Received data or port requests.
- An error occurred during receiving a message.
- An error occurred during receiving chunks of a message.
- An error occurred during receiving a data message.
- An error occurred during sending of a message.
- An error occurred during sending of a message.
Constants§
- Channel multiplexer protocol version.
Type Aliases§
- Box containing any value that is Send, Sync and static.
- An entry in AnyStorage.