pub enum JobState {
Pending,
Scheduled,
Assigned,
Running,
Passed,
Failed,
Skipped,
Canceling,
Canceled,
TimingOut,
TimedOut,
}Expand description
The job’s FSM state.
JSON schema
{
"description": "The job's FSM state.",
"type": "string",
"enum": [
"pending",
"scheduled",
"assigned",
"running",
"passed",
"failed",
"skipped",
"canceling",
"canceled",
"timing_out",
"timed_out"
]
}Variants§
Trait Implementations§
impl Copy for JobState
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
Source§impl Ord for JobState
impl Ord for JobState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for JobState
impl PartialOrd for JobState
impl StructuralPartialEq for JobState
Source§impl TryFrom<&String> for JobState
impl TryFrom<&String> for JobState
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for JobState
impl RefUnwindSafe for JobState
impl Send for JobState
impl Sync for JobState
impl Unpin for JobState
impl UnsafeUnpin 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