pub enum JobEvent {
StateTransition {
state: JobState,
status_message: Option<String>,
},
DeclareWorkloadExitStatus {
workload_exit_status: JobUserExitStatus,
workload_output: Option<String>,
},
SetExitStatus {
exit_status: ExitStatus,
status_message: Option<String>,
},
FinalizeResult {
job_result: JobResult,
},
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobEvent
impl<'de> Deserialize<'de> for JobEvent
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
Auto Trait Implementations§
impl Freeze for JobEvent
impl RefUnwindSafe for JobEvent
impl Send for JobEvent
impl Sync for JobEvent
impl Unpin for JobEvent
impl UnwindSafe for JobEvent
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