Enum tokio_beanstalkd::errors::Put[][src]

pub enum Put {
    Buried,
    ExpectedCRLF,
    JobTooBig,
    Draining,
    Beanstalk {
        error: BeanstalkError,
    },
    // some variants omitted
}

Errors which can be casued due to a PUT command

Variants

The server ran out of memory trying to grow the priority queue data structure. The client should try another server or disconnect and try again later.

The job body must be followed by a CR-LF pair, that is, "\r\n". These two bytes are not counted in the job size given by the client in the put command line.

This should never happen, if it does please file an issue.

The client has requested to put a job with a body larger than max-job-size bytes

This means that the server has been put into "drain mode" and is no longer accepting new jobs. The client should try another server or disconnect and try again later.

Fields of Beanstalk

Trait Implementations

impl Copy for Put
[src]

impl Clone for Put
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Put
[src]

Formats the value using the given formatter. Read more

impl Eq for Put
[src]

impl PartialEq for Put
[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 Put

impl Sync for Put