Enum tokio_beanstalkd::errors::BeanstalkError[][src]

pub enum BeanstalkError {
    BadFormat,
    OutOfMemory,
    InternalError,
    UnknownCommand,
    UnexpectedResponse,
    // some variants omitted
}

Errors that can be returned for any command

Variants

The client sent a command line that was not well-formed. This can happen if the line does not end with \r\n, if non-numeric characters occur where an integer is expected, if the wrong number of arguments are present, or if the command line is mal-formed in any other way.

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

The server cannot allocate enough memory for the job. The client should try again later.

This indicates a bug in the server. It should never happen. If it does happen, please report it at http://groups.google.com/group/beanstalk-talk.

The client sent a command that the server does not know.

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

Trait Implementations

impl Copy for BeanstalkError
[src]

impl Clone for BeanstalkError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BeanstalkError
[src]

Formats the value using the given formatter. Read more

impl Eq for BeanstalkError
[src]

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