Enum tokio_beanstalkd::errors::Consumer[][src]

pub enum Consumer {
    NotFound,
    Buried,
    NotIgnored,
    Beanstalk {
        error: BeanstalkError,
    },
    // some variants omitted
}

Errors which can occur when acting as a consumer/worker

Variants

If the job does not exist or is not either reserved by the client

if the server ran out of memory trying to grow the priority queue data structure.

If the client attempts to ignore the only tube in its watch list.

Fields of Beanstalk

Trait Implementations

impl Copy for Consumer
[src]

impl Clone for Consumer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Consumer
[src]

Formats the value using the given formatter. Read more

impl Eq for Consumer
[src]

impl PartialEq for Consumer
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Consumer

impl Sync for Consumer