Struct market::channel::WithdrawnSupplyFault[][src]

pub struct WithdrawnSupplyFault { /* fields omitted */ }

A fault thrown when attempting to consume from a channel with an empty stock and no Producers.

Implements Error: - Error::source() returns None. - Display::fmt() writes "supply of {description} has withdrawn". Implements TryFrom<ConsumeFailure<Self>>: - TryFrom::try_from() SHALL follow specifications given at ConsumeFault.

Implementations

impl WithdrawnSupplyFault[src]

#[must_use]pub const fn new(description: String) -> Self[src]

Creates a new WithdrawnSupplyFault.

Trait Implementations

impl Clone for WithdrawnSupplyFault[src]

impl Debug for WithdrawnSupplyFault[src]

impl Display for WithdrawnSupplyFault[src]

impl Error for WithdrawnSupplyFault[src]

impl TryFrom<ConsumeFailure<WithdrawnSupplyFault>> for WithdrawnSupplyFault[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.