Crate channel

Crate channel 

Source
Expand description

diem_channel is an mpmc-style channel with per-key queues, providing load isolation across senders and eviction-on-full semantics (FIFO, LIFO, or KLAST).

Modulesยง

diem_channel
diem_channel provides an mpsc channel which has two ends diem_channel::Receiver and diem_channel::Sender similar to existing mpsc data structures. What makes it different from existing mpsc channels is that we have full control over how the internal queueing in the channel happens and how we schedule messages to be sent out from this channel. Internally, it uses the PerKeyQueue to store messages
message_queues