Enum nolock::queues::mpsc::DequeueError[][src]

pub enum DequeueError {
    WouldBlock,
    Closed,
}
Expand description

This Error is potentially returned by the Enqueue Operation

Variants

WouldBlock

The Queue is most likely empty and therefore there is nothing to load right now.

This indicates that the Operation could succeed in the Future if you attempt to perform it again

Closed

The Queue has been closed by the Producers and there will be no more Elements that could be dequeued from the Queue

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.