pub enum Interruption {
Fail,
Retry,
}Expand description
Customer disposition when an assigned worker stops.
Variants§
Fail
Return the accepted job to its customer.
Retry
Reinsert the accepted job at its immutable admission position.
Trait Implementations§
Source§impl Clone for Interruption
impl Clone for Interruption
Source§fn clone(&self) -> Interruption
fn clone(&self) -> Interruption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Interruption
impl Debug for Interruption
Source§impl PartialEq for Interruption
impl PartialEq for Interruption
impl Copy for Interruption
impl Eq for Interruption
impl StructuralPartialEq for Interruption
Auto Trait Implementations§
impl Freeze for Interruption
impl RefUnwindSafe for Interruption
impl Send for Interruption
impl Sync for Interruption
impl Unpin for Interruption
impl UnsafeUnpin for Interruption
impl UnwindSafe for Interruption
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