Expand description
Code to handle incoming cells on a channel.
The role of this code is to run in a separate asynchronous task, and routes cells to the right circuits.
TODO: I have zero confidence in the close-and-cleanup behavior here, or in the error handling behavior.
Structs§
- Reactor
- Object to handle incoming cells and background tasks on a channel.
- Special
Outgoing 🔒 - Outgoing cells introduced at the channel reactor
Enums§
- CtrlMsg
testing
- A message telling the channel reactor to do something.
Functions§
- codec_
err_ 🔒to_ chan - Convert
err
to an Error, under the assumption that it’s happening on an open channel.
Type Aliases§
- Boxed
Channel 🔒Sink - A boxed trait object that can sink
ChanCell
s. - Boxed
Channel 🔒Stream - A boxed trait object that can provide
ChanCell
s. - Boxed
Channel 🔒Stream Ops - A boxed trait object that can provide additional
StreamOps
on aBoxedChannelStream
. - Reactor
Result 🔒Channel - The type of a oneshot channel used to inform reactor users of the result of an operation.