Struct market::queue::Procurer[][src]

pub struct Procurer<G> { /* fields omitted */ }

Produces goods of type G to a queue.

Trait Implementations

impl<G> Consumer for Procurer<G>[src]

type Good = G

The item being consumed.

type Failure = InsufficientStockFailure

Describes a failure to successfully complete consumption.

impl<G: Debug> Debug for Procurer<G>[src]

Auto Trait Implementations

impl<G> RefUnwindSafe for Procurer<G> where
    G: RefUnwindSafe
[src]

impl<G> Send for Procurer<G> where
    G: Send
[src]

impl<G> Sync for Procurer<G> where
    G: Send
[src]

impl<G> Unpin for Procurer<G>[src]

impl<G> UnwindSafe for Procurer<G> where
    G: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<P, C> AssembleInto<C> for P where
    C: AssembleFrom<P>, 
[src]

type Error = <C as AssembleFrom<P>>::Error

Describes an error with the parts. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<P, C> DisassembleInto<P> for C where
    P: DisassembleFrom<C>, 
[src]

type Error = <P as DisassembleFrom<C>>::Error

Describes an error that prevents disassembly.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.