Enum pueue_lib::task::TaskStatus[][src]

pub enum TaskStatus {
    Queued,
    Stashed,
    Running,
    Paused,
    Done,
    Locked,
}

This enum represents the status of the internal task handling of Pueue. They basically represent the internal task life-cycle.

Variants

Queued

The task is queued and waiting for a free slot

Stashed

The task has been manually stashed. It won't be executed until it's manually enqueued

Running

The task is started and running

Paused

A previously running task has been paused

Done

Task finished. The actual result of the task is handled by the TaskResult enum.

Locked

Used while the command of a task is edited (to prevent starting the task)

Trait Implementations

impl Clone for TaskStatus[src]

impl Debug for TaskStatus[src]

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

impl Display for TaskStatus[src]

impl PartialEq<TaskStatus> for TaskStatus[src]

impl Serialize for TaskStatus[src]

impl StructuralPartialEq for TaskStatus[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,