pub enum FailOutcome<T> {
Requeued,
Abandoned(T),
}Expand description
What ItemQueue::fail did with the item.
Variants§
Requeued
Another running lane that has not failed it yet will get it.
Abandoned(T)
Every running lane has failed it; report it as failed.
Trait Implementations§
Source§impl<T: Clone> Clone for FailOutcome<T>
impl<T: Clone> Clone for FailOutcome<T>
Source§impl<T: Debug> Debug for FailOutcome<T>
impl<T: Debug> Debug for FailOutcome<T>
impl<T: Eq> Eq for FailOutcome<T>
Source§impl<T: PartialEq> PartialEq for FailOutcome<T>
impl<T: PartialEq> PartialEq for FailOutcome<T>
impl<T: PartialEq> StructuralPartialEq for FailOutcome<T>
Auto Trait Implementations§
impl<T> Freeze for FailOutcome<T>where
T: Freeze,
impl<T> RefUnwindSafe for FailOutcome<T>where
T: RefUnwindSafe,
impl<T> Send for FailOutcome<T>where
T: Send,
impl<T> Sync for FailOutcome<T>where
T: Sync,
impl<T> Unpin for FailOutcome<T>where
T: Unpin,
impl<T> UnsafeUnpin for FailOutcome<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for FailOutcome<T>where
T: UnwindSafe,
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