Enum json_job_dispatch::Outbox
source · [−]pub enum Outbox {
Accept,
Reject,
Fail,
}
Expand description
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.
Implementations
Trait Implementations
impl Copy for Outbox
impl Eq for Outbox
impl StructuralEq for Outbox
impl StructuralPartialEq for Outbox
Auto Trait Implementations
impl RefUnwindSafe for Outbox
impl Send for Outbox
impl Sync for Outbox
impl Unpin for Outbox
impl UnwindSafe for Outbox
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more