pub enum JobState {
Pending,
Running,
Succeeded,
Failed,
Cancelled,
RecurringBase,
}
Expand description
The current state of a job.
Variants§
Pending
The job is waiting to run.
Running
The job is currently running.
Succeeded
The job finished successfully.
Failed
The job failed and exceeded its retry limit. It will not be retried.
Cancelled
The job was cancelled by the user.
RecurringBase
This job is a template for a recurring job. Other jobs will be created from this job but this instance will not be run.
Implementations§
Trait Implementations§
impl Copy for JobState
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