Enum atomic_ring_buffer::Error [] [src]

pub enum Error {
    Exhausted,
    Locked,
}

The errors that may happen during an enqueue or a dequeue operation.

Variants

The ring buffer is full (during an enqueue operation) or empty (during a dequeue operation).

Another operation of the same kind (enqueue or dequeue) is being performed.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl PartialEq for Error
[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 Error
[src]