Expand description
Multi-producer, multi-consumer sorted channel.
Structs§
- Receiver
- The receiving-half of the
sorted_channel
type. This receiver can be cloned and sent to multiple threads. SeeSender
for an example. - Recv
Error - An error returned from
Receiver::recv
when there are noSender
s left for the channel. - Send
Error - An error returned from
Sender::send
when there are noReceiver
s left for the channel. - Sender
- The sending-half of the
sorted_channel
type. This sender can be cloned and sent to multiple threads.
Functions§
- sorted_
channel - Creates a new sorted channel returning the
Sender
/Receiver
halves.