[][src]Enum json_job_dispatch::Outbox

pub enum Outbox {
    Accept,
    Reject,
    Fail,
}

Outbox labels.

Jobs, once processed, are assigned one of three labels. Each label is its own directory where completed jobs are placed once they have been handled.

Once placed in an outbox, the job is accompanied by a .stamp file beside it to indicate when the job was handled.

Variants

Accept

Jobs which have been accepted and acted upon without error.

Reject

Jobs for which there is nothing to do.

Each job contains a .reason file beside it indicating the reason for rejection.

Fail

Jobs which caused an error to occur.

As with Reject, but the .reason contains error information.

Methods

impl Outbox[src]

pub fn name(self) -> &'static str[src]

The name of the directory to use for the outbox.

Trait Implementations

impl Clone for Outbox[src]

impl Copy for Outbox[src]

impl Eq for Outbox[src]

impl PartialEq<Outbox> for Outbox[src]

impl Display for Outbox[src]

impl Debug for Outbox[src]

impl StructuralPartialEq for Outbox[src]

impl StructuralEq for Outbox[src]

Auto Trait Implementations

impl Send for Outbox

impl Sync for Outbox

impl Unpin for Outbox

impl UnwindSafe for Outbox

impl RefUnwindSafe for Outbox

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,