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
Buried
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.
ExpectedCRLF
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.
JobTooBig
The client has requested to put a job with a body larger than max-job-size bytes
Draining
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.
Beanstalk
Fields of Beanstalk
error: BeanstalkError |
Trait Implementations
impl Copy for Put
[src]
impl Copy for Put
impl Clone for Put
[src]
impl Clone for Put
fn clone(&self) -> Put
[src]
fn clone(&self) -> Put
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 Put
[src]
impl Debug for Put
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 Put
[src]
impl Eq for Put
impl PartialEq for Put
[src]
impl PartialEq for Put