Struct futures_checkout::ReturnSlot [] [src]

pub struct ReturnSlot<'checkout, T> where
    T: 'checkout, 
{ /* fields omitted */ }

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.

Methods

impl<'checkout, T> ReturnSlot<'checkout, T> where
    T: 'checkout, 
[src]

[src]

Return the checked out item, consuming this ReturnSlot.

Trait Implementations

impl<'checkout, T: Debug> Debug for ReturnSlot<'checkout, T> where
    T: 'checkout, 
[src]

[src]

Formats the value using the given formatter.