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§
source§impl PartialEq<Outbox> for Outbox
impl PartialEq<Outbox> for Outbox
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more