pub enum PoolInterruption<A: Address> {
WorkerStopped {
worker: A::Nonce,
outcome: Result<Exit<A>, Crash>,
},
NoRecoverableWorkers,
AffinityRetired {
worker: A::Nonce,
reason: WorkerRetirement,
},
}Expand description
Why an accepted assignment ended without a worker completion.
Variants§
WorkerStopped
NoRecoverableWorkers
AffinityRetired
The job’s selected stable slot retired while the job was queued.
Trait Implementations§
Source§impl<A: Clone + Address> Clone for PoolInterruption<A>
impl<A: Clone + Address> Clone for PoolInterruption<A>
Source§fn clone(&self) -> PoolInterruption<A>
fn clone(&self) -> PoolInterruption<A>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<A: Eq + Address> Eq for PoolInterruption<A>
impl<A: PartialEq + Address> StructuralPartialEq for PoolInterruption<A>
Auto Trait Implementations§
impl<A> Freeze for PoolInterruption<A>
impl<A> RefUnwindSafe for PoolInterruption<A>
impl<A> Send for PoolInterruption<A>
impl<A> Sync for PoolInterruption<A>
impl<A> Unpin for PoolInterruption<A>
impl<A> UnsafeUnpin for PoolInterruption<A>
impl<A> UnwindSafe for PoolInterruption<A>
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