Expand description
Helpers for writing tests involving channels.
Structs§
- Drop
Sender - Implements a cloneable object that will send only one message
on an
mpsc::Sender
when its ‘last’ clone is dropped. It will assert if an attempt to re-clone an already clonedDropSender
happens, ensuring that the object is only cloned in a linear path.