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
NotFound
If the job does not exist or is not either reserved by the client
Buried
if the server ran out of memory trying to grow the priority queue data structure.
NotIgnored
If the client attempts to ignore the only tube in its watch list.
Beanstalk
Fields of Beanstalk
error: BeanstalkError |
Trait Implementations
impl Copy for Consumer
[src]
impl Copy for Consumer
impl Clone for Consumer
[src]
impl Clone for Consumer
fn clone(&self) -> Consumer
[src]
fn clone(&self) -> Consumer
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Consumer
[src]
impl Debug for Consumer
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 Consumer
[src]
impl Eq for Consumer
impl PartialEq for Consumer
[src]
impl PartialEq for Consumer