Structs§
- Delayed
Entry 🔒 - An internal type used by the
SkipDelayQueue. - Skip
- A marker type for canceling items pushed into the
SkipDelayQueue. - Skip
Delay 🔒Queue - Internal type used by the
skip_delay_channel. - Skip
Delay Receiver - Receiver part for the
skip_delay_channel. - Skip
Delay Sender - Sender part for the
skip_delay_channel.
Enums§
- Delayed
Item - An item with a deadline, which can be pushed into the
SkipDelayQueue.
Functions§
- skip_
delay_ channel - A MPSC queue of items with attached
Instantthat determines a deadline at which it should be yielded from theStreamside of the queue. The queue also has the cancellation ability: an item that has been pushed into the queue earlier can be canceled before it meets its deadline. A canceled item will then be skipped in the output stream.