Expand description
This library adapts the block-waiting recv mechanism from the Rust standard
library to an unbounded SPSC channel backed by spsc.
§Delivery guarantee
A successful Sender::send (Ok(())) does not guarantee that the corresponding
Receiver::recv will observe the message. If the receiver is dropped concurrently
with a send, the in-flight value may be silently discarded (it is destructed
properly when the underlying queue is dropped; it is not leaked). This is a
deliberate weakening relative to the std-library stream-flavor channel from which
this design was originally adapted.
Macros§
Structs§
- Into
Iter - Iter
- Receiver
- Recv
Error - Sender disconnected, no further messages will ever be received.
- Send
Error - Receiver disconnected, message will never be deliverable.
- Sender
- TryIter