Enum npnc::ConsumeError[][src]

pub enum ConsumeError {
    Disconnected,
    Empty,
}

Indicates the reason a consume operation could not return an item.

Variants

The queue was empty and had no remaining producers.

The queue was empty.

Trait Implementations

impl Copy for ConsumeError
[src]

impl Clone for ConsumeError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ConsumeError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ConsumeError
[src]

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

This method tests for !=.

impl Eq for ConsumeError
[src]

impl Error for ConsumeError
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for ConsumeError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations