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

The job has reached the end.

The job was stopped due to a user request over the XIO protocol.

An exit criterion matched and therefore the execution was stopped.

Fields of ExitCriterionMatched

The command that was executed while the condition matched.

The condition which matched.

The job execution failed due to some reason.

Fields of Failed

The error code indicating the reason for the failure.

Trait Implementations

impl Clone for JobStoppedReason
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for JobStoppedReason
[src]

Formats the value using the given formatter. Read more

impl PartialEq for JobStoppedReason
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for JobStoppedReason
[src]

Auto Trait Implementations