Module tarpc::transport::channel

source ·
Expand description

Transports backed by in-memory channels.

Structs

A bi-directional channel backed by a Sender and Receiver.
A bi-directional channel backed by an UnboundedSender and UnboundedReceiver.

Enums

Errors that occur in the sending or receiving of messages over a channel.

Functions

Returns two channel peers with buffer equal to capacity. Each [Stream] yields items sent through the other’s [Sink].
Returns two unbounded channel peers. Each [Stream] yields items sent through the other’s [Sink].