Expand description
Multi-producer, multi-consumer sorted channel.
Structs§
- Receiver
- The receiving-half of the
sorted_channeltype. This receiver can be cloned and sent to multiple threads. SeeSenderfor an example. - Recv
Error - An error returned from
Receiver::recvwhen there are noSenders left for the channel. - Send
Error - An error returned from
Sender::sendwhen there are noReceivers left for the channel. - Sender
- The sending-half of the
sorted_channeltype. This sender can be cloned and sent to multiple threads.
Functions§
- sorted_
channel - Creates a new sorted channel returning the
Sender/Receiverhalves.