pub enum WorkerPhase {
Installing,
Idle,
Assigned {
assignment: AssignmentId,
job: JobId,
},
Retired {
reason: WorkerRetirement,
},
}Expand description
Public, payload-free view of one stable worker slot.
Variants§
Trait Implementations§
Source§impl Clone for WorkerPhase
impl Clone for WorkerPhase
Source§fn clone(&self) -> WorkerPhase
fn clone(&self) -> WorkerPhase
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 WorkerPhase
Source§impl Debug for WorkerPhase
impl Debug for WorkerPhase
impl Eq for WorkerPhase
Source§impl PartialEq for WorkerPhase
impl PartialEq for WorkerPhase
impl StructuralPartialEq for WorkerPhase
Auto Trait Implementations§
impl Freeze for WorkerPhase
impl RefUnwindSafe for WorkerPhase
impl Send for WorkerPhase
impl Sync for WorkerPhase
impl Unpin for WorkerPhase
impl UnsafeUnpin for WorkerPhase
impl UnwindSafe for WorkerPhase
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