pub enum JobStatus {
Dead,
Running,
Pending,
Paused,
Failed,
Successful,
Cancelled,
Initializing,
Blocked,
Unblocking,
}Expand description
Specifies the job status. https://developer.hashicorp.com/nomad/api-docs/jobs#status
Variants§
Dead
All of the job’s allocations and evaluations are terminal.
Running
The job has non-terminal allocations.
Pending
The job is currently waiting on scheduling.
Paused
The job is currently paused.
Failed
The job failed.
Successful
The job deployment was successful.
Cancelled
The job deployment was cancelled.
Initializing
The job deployment is initializing.
Blocked
The job deployment is blocked.
Unblocking
The job deployment is unblocking.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobStatus
impl<'de> Deserialize<'de> for JobStatus
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 JobStatus
impl StructuralPartialEq for JobStatus
Auto Trait Implementations§
impl Freeze for JobStatus
impl RefUnwindSafe for JobStatus
impl Send for JobStatus
impl Sync for JobStatus
impl Unpin for JobStatus
impl UnwindSafe for JobStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.