Expand description
Checkout objects and return them later.
Structsยง
- Ordered
Checkout - The
OrderedCheckoutobject allows multiple consumers to check out and return an object, queueing consumers when the object is not available and waking them in order when it becomes available. - Ordered
Checkout Future - The future that can be polled to receive the object.
To be hidden behind
impl Traitonce its stable. - Return
Slot - The
ReturnSlotthrough which the object can be returned to itsOrderedCheckoutonce the consumer is done with it. If a consumer fails to return the object, no other consumer can ever proceed.