Enum apalis_core::request::JobState
source · pub enum JobState {
Pending,
Running,
Done,
Retry,
Failed,
Killed,
}Expand description
Represents the state of a JobRequest
Variants§
Pending
Job is pending
Running
Job is running
Done
Job was done successfully
Retry
Retry Job
Failed
Job has failed. Check last_error
Killed
Job has been killed
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
source§impl PartialEq<JobState> for JobState
impl PartialEq<JobState> for JobState
impl Eq for JobState
impl StructuralEq for JobState
impl StructuralPartialEq for JobState
Auto Trait Implementations§
impl RefUnwindSafe for JobState
impl Send for JobState
impl Sync for JobState
impl Unpin for JobState
impl UnwindSafe for JobState
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.