Crate futures_checkout [] [src]

Checkout objects and return them later.



The OrderedCheckout object 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.


The future that can be polled to receive the object. To be hidden behind impl Trait once its stable.


The ReturnSlot through which the object can be returned to its OrderedCheckout once the consumer is done with it. If a consumer fails to return the object, no other consumer can ever proceed.