pub enum JobOutcome {
Completed(JobCompleted),
TimedOut(JobEffects),
}Expand description
The outcome of a job. This doesn’t include error outcomes, which are handled with JobError.
Variants§
Completed(JobCompleted)
TimedOut(JobEffects)
Trait Implementations§
Source§impl Clone for JobOutcome
impl Clone for JobOutcome
Source§fn clone(&self) -> JobOutcome
fn clone(&self) -> JobOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobOutcome
impl Debug for JobOutcome
Source§impl<'de> Deserialize<'de> for JobOutcome
impl<'de> Deserialize<'de> for JobOutcome
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 Ord for JobOutcome
impl Ord for JobOutcome
Source§fn cmp(&self, other: &JobOutcome) -> Ordering
fn cmp(&self, other: &JobOutcome) -> Ordering
1.21.0 · 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 PartialEq for JobOutcome
impl PartialEq for JobOutcome
Source§impl PartialOrd for JobOutcome
impl PartialOrd for JobOutcome
Source§impl Serialize for JobOutcome
impl Serialize for JobOutcome
impl Eq for JobOutcome
impl StructuralPartialEq for JobOutcome
Auto Trait Implementations§
impl Freeze for JobOutcome
impl RefUnwindSafe for JobOutcome
impl Send for JobOutcome
impl Sync for JobOutcome
impl Unpin for JobOutcome
impl UnwindSafe for JobOutcome
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