pub enum JobStatus {
NotStarted,
Processing,
Finished,
}
Expand description
A definition for the current running state of a Job struct.
Variants§
NotStarted
The default state, indicates that the job has been created but not started yet
Processing
This state indicates the job is currently being run by a process
Finished
The job has encountered an End node and has run to completion or errored
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 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