#[non_exhaustive]pub enum JobStateKind {
Requested,
Claimed,
Succeeded,
Failed,
Cancelled,
}Expand description
Lifecycle state category for filtering and foreign interfaces.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Requested
Waiting for a worker.
Claimed
Held by a worker until its lease expires.
Succeeded
Completed with an activity and representation.
Failed
Ended with a diagnostic and no output.
Cancelled
Explicitly cancelled before completion.
Trait Implementations§
Source§impl Clone for JobStateKind
impl Clone for JobStateKind
Source§fn clone(&self) -> JobStateKind
fn clone(&self) -> JobStateKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JobStateKind
Source§impl Debug for JobStateKind
impl Debug for JobStateKind
impl Eq for JobStateKind
Source§impl Hash for JobStateKind
impl Hash for JobStateKind
Source§impl PartialEq for JobStateKind
impl PartialEq for JobStateKind
impl StructuralPartialEq for JobStateKind
Auto Trait Implementations§
impl Freeze for JobStateKind
impl RefUnwindSafe for JobStateKind
impl Send for JobStateKind
impl Sync for JobStateKind
impl Unpin for JobStateKind
impl UnsafeUnpin for JobStateKind
impl UnwindSafe for JobStateKind
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