[][src]Enum xio_webapi::JobStoppedReason

pub enum JobStoppedReason {
    Finished,
    StoppedByUser,
    ExitCriterionMatched {
        command: PositionWithDescription,
        condition: PositionWithDescription,
    },
    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: PositionWithDescription

The command that was executed while the condition matched.

condition: PositionWithDescription

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 Eq for JobStoppedReason[src]

impl Clone for JobStoppedReason[src]

impl PartialEq<JobStoppedReason> for JobStoppedReason[src]

impl Debug for JobStoppedReason[src]

impl Serialize for JobStoppedReason[src]

impl<'de> Deserialize<'de> for JobStoppedReason[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> PathLoad for T where
    T: DeserializeOwned