pub enum JobState {
Pending,
Running,
Success,
Failure,
Paused,
Retry,
}Expand description
Orthanc job state.
https://orthanc.uclouvain.be/book/users/advanced-rest.html#monitoring-jobs
Variants§
Pending
The job is waiting to be executed.
Running
The job is being executed. The Progress field will be continuously updated to reflect the progression of the execution.
Success
The job has finished with success.
Failure
The job has finished with failure. Check out the JobInfo::error_code and JobInfo::error_description fields for more information.
Paused
The job has been paused.
Retry
The job has failed internally, and has been scheduled for re-submission after a delay. As of Orthanc 1.12.8, this feature is not used by any type of job.
Trait Implementations§
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 Copy for JobState
impl Eq for JobState
impl StructuralPartialEq for JobState
Auto Trait Implementations§
impl Freeze for JobState
impl RefUnwindSafe for JobState
impl Send for JobState
impl Sync for JobState
impl Unpin 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