pub enum WorkerPolicyDecision {
Undecided,
Hold,
ScaleUp,
HoldNoUsefulWork,
HoldInsufficientFrontier,
HoldHandoffBacklog,
ObserveFast,
ObserveSlow,
Incomplete,
ObserveIncomplete,
}Expand description
Decision represented by a WorkerPolicyWindow.
Variants§
Undecided
The walk ended before the window could support a decision.
Hold
The observed window retained the current pool.
ScaleUp
The observed window activated reserve workers.
HoldNoUsefulWork
The trigger fired after all useful work had drained.
HoldInsufficientFrontier
A complete window held because reserve workers had no useful frontier to claim.
HoldHandoffBacklog
A complete window held because the unbounded handoff backlog was already high.
ObserveFast
A post-decision observation window remained below the slow threshold.
ObserveSlow
A post-decision observation window met the slow threshold.
Incomplete
A trailing partial window carried no new terminal decision.
ObserveIncomplete
A trailing partial post-decision observation carried no policy decision.
Trait Implementations§
Source§impl Clone for WorkerPolicyDecision
impl Clone for WorkerPolicyDecision
impl Copy for WorkerPolicyDecision
Source§impl Debug for WorkerPolicyDecision
impl Debug for WorkerPolicyDecision
impl Eq for WorkerPolicyDecision
Source§impl PartialEq for WorkerPolicyDecision
impl PartialEq for WorkerPolicyDecision
impl StructuralPartialEq for WorkerPolicyDecision
Auto Trait Implementations§
impl Freeze for WorkerPolicyDecision
impl RefUnwindSafe for WorkerPolicyDecision
impl Send for WorkerPolicyDecision
impl Sync for WorkerPolicyDecision
impl Unpin for WorkerPolicyDecision
impl UnsafeUnpin for WorkerPolicyDecision
impl UnwindSafe for WorkerPolicyDecision
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