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
BadFormat
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.
OutOfMemory
The server cannot allocate enough memory for the job. The client should try again later.
InternalError
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.
UnknownCommand
The client sent a command that the server does not know.
This should not happen, if it does please file an issue.
UnexpectedResponse
Trait Implementations
impl Copy for BeanstalkError
[src]
impl Copy for BeanstalkError
impl Clone for BeanstalkError
[src]
impl Clone for BeanstalkError
fn clone(&self) -> BeanstalkError
[src]
fn clone(&self) -> BeanstalkError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for BeanstalkError
[src]
impl Debug for BeanstalkError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for BeanstalkError
[src]
impl Eq for BeanstalkError
impl PartialEq for BeanstalkError
[src]
impl PartialEq for BeanstalkError
Auto Trait Implementations
impl Send for BeanstalkError
impl Send for BeanstalkError
impl Sync for BeanstalkError
impl Sync for BeanstalkError