pub enum WorkerRetirement {
CreationRejected(CreationRejection),
ReplacementUnavailable,
}Expand description
Why a stable worker slot is no longer eligible for dispatch.
Variants§
CreationRejected(CreationRejection)
Trait Implementations§
Source§impl Clone for WorkerRetirement
impl Clone for WorkerRetirement
Source§fn clone(&self) -> WorkerRetirement
fn clone(&self) -> WorkerRetirement
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 Copy for WorkerRetirement
Source§impl Debug for WorkerRetirement
impl Debug for WorkerRetirement
impl Eq for WorkerRetirement
Source§impl PartialEq for WorkerRetirement
impl PartialEq for WorkerRetirement
impl StructuralPartialEq for WorkerRetirement
Auto Trait Implementations§
impl Freeze for WorkerRetirement
impl RefUnwindSafe for WorkerRetirement
impl Send for WorkerRetirement
impl Sync for WorkerRetirement
impl Unpin for WorkerRetirement
impl UnsafeUnpin for WorkerRetirement
impl UnwindSafe for WorkerRetirement
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