pub enum QueueJobStatus {
Ready,
Leased,
Completed,
Dead,
}Expand description
Queue job lifecycle state.
Variants§
Ready
Ready to be claimed by a worker.
Leased
Claimed by a worker and awaiting ack/nack.
Completed
Completed successfully.
Dead
Exhausted retries and moved to the dead-letter set.
Trait Implementations§
Source§impl Clone for QueueJobStatus
impl Clone for QueueJobStatus
Source§fn clone(&self) -> QueueJobStatus
fn clone(&self) -> QueueJobStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QueueJobStatus
Source§impl Debug for QueueJobStatus
impl Debug for QueueJobStatus
impl Eq for QueueJobStatus
Source§impl PartialEq for QueueJobStatus
impl PartialEq for QueueJobStatus
Source§fn eq(&self, other: &QueueJobStatus) -> bool
fn eq(&self, other: &QueueJobStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueueJobStatus
Auto Trait Implementations§
impl Freeze for QueueJobStatus
impl RefUnwindSafe for QueueJobStatus
impl Send for QueueJobStatus
impl Sync for QueueJobStatus
impl Unpin for QueueJobStatus
impl UnsafeUnpin for QueueJobStatus
impl UnwindSafe for QueueJobStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more