pub enum JobState {
Pending,
Processing,
Completed,
Failed,
Dead,
}Expand description
Job execution state
Variants§
Pending
Job is waiting to be processed
Processing
Job is currently being processed
Completed
Job completed successfully
Failed
Job failed and will be retried
Dead
Job failed permanently after max retries
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobState
impl<'de> Deserialize<'de> for JobState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for JobState
impl StructuralPartialEq for JobState
Auto Trait Implementations§
impl Freeze for JobState
impl RefUnwindSafe for JobState
impl Send for JobState
impl Sync for JobState
impl Unpin for JobState
impl UnwindSafe for JobState
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