Enum xio_webapi::JobStoppedReason [−][src]
pub enum JobStoppedReason { Finished, StoppedByUser, ExitCriterionMatched { command: PositionWithCaption, condition: PositionWithCaption, }, Failed { error: ErrorCode, }, }
The reasons for a job to be stopped.
Variants
Finished
The job has reached the end.
StoppedByUser
The job was stopped due to a user request over the XIO protocol.
ExitCriterionMatched
An exit criterion matched and therefore the execution was stopped.
Fields of ExitCriterionMatched
command: PositionWithCaption | The command that was executed while the condition matched. |
condition: PositionWithCaption | The condition which matched. |
Failed
The job execution failed due to some reason.
Fields of Failed
error: ErrorCode | The error code indicating the reason for the failure. |
Trait Implementations
impl Clone for JobStoppedReason
[src]
impl Clone for JobStoppedReason
fn clone(&self) -> JobStoppedReason
[src]
fn clone(&self) -> JobStoppedReason
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for JobStoppedReason
[src]
impl Debug for JobStoppedReason
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for JobStoppedReason
[src]
impl PartialEq for JobStoppedReason
fn eq(&self, other: &JobStoppedReason) -> bool
[src]
fn eq(&self, other: &JobStoppedReason) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &JobStoppedReason) -> bool
[src]
fn ne(&self, other: &JobStoppedReason) -> bool
This method tests for !=
.
impl Eq for JobStoppedReason
[src]
impl Eq for JobStoppedReason
Auto Trait Implementations
impl Send for JobStoppedReason
impl Send for JobStoppedReason
impl Sync for JobStoppedReason
impl Sync for JobStoppedReason