pub enum WorkerPolicyOutcome {
NotRun,
Fixed,
Undecided,
Held,
ScaledUp,
HeldNoUsefulWork,
}Expand description
Final state of the automatic worker controller.
Variants§
NotRun
The scan did no walking, for example because max_depth was zero.
Fixed
A fixed pool had no adaptive decision to make.
Undecided
The walk ended before an adaptive window became observable.
Held
The controller measured a window and retained the initial pool.
ScaledUp
The controller requested and activated the reserve workers.
HeldNoUsefulWork
Slow work was observed only after no useful queued or in-flight work remained.
Trait Implementations§
Source§impl Clone for WorkerPolicyOutcome
impl Clone for WorkerPolicyOutcome
impl Copy for WorkerPolicyOutcome
Source§impl Debug for WorkerPolicyOutcome
impl Debug for WorkerPolicyOutcome
impl Eq for WorkerPolicyOutcome
Source§impl PartialEq for WorkerPolicyOutcome
impl PartialEq for WorkerPolicyOutcome
impl StructuralPartialEq for WorkerPolicyOutcome
Auto Trait Implementations§
impl Freeze for WorkerPolicyOutcome
impl RefUnwindSafe for WorkerPolicyOutcome
impl Send for WorkerPolicyOutcome
impl Sync for WorkerPolicyOutcome
impl Unpin for WorkerPolicyOutcome
impl UnsafeUnpin for WorkerPolicyOutcome
impl UnwindSafe for WorkerPolicyOutcome
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