Module remoc::rch::lr

source ·
Available on crate feature rch only.
Expand description

A channel that exchanges values of arbitrary type with a remote endpoint and is established by sending exactly one half of it over an existing channel.

This is a lighter and more restricted version of an MPSC channel. It does not spawn a task per connected channel, but forwarding is not supported and exactly one half of the channel must be sent to a remote endpoint.

Structs§

  • The receiver part of a local/remote channel.
  • An error that occurred during remote sending.
  • The sender part of a local/remote channel.

Enums§

  • An error that occurred during receiving from a remote endpoint.
  • Error kind that occurred during remote sending.

Functions§

  • Creates a new local/remote channel that is established by sending either the sender or receiver over a remote channel.