struct PhaseStabilityTracker {
candidate: Option<WorkloadPhase>,
count: u32,
}Expand description
Tracks per-task phase stability to avoid flapping.
Fields§
§candidate: Option<WorkloadPhase>The candidate phase we’re observing.
count: u32How many consecutive times we’ve seen this candidate.
Trait Implementations§
Source§impl Debug for PhaseStabilityTracker
impl Debug for PhaseStabilityTracker
Source§impl Default for PhaseStabilityTracker
impl Default for PhaseStabilityTracker
Source§fn default() -> PhaseStabilityTracker
fn default() -> PhaseStabilityTracker
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PhaseStabilityTracker
impl RefUnwindSafe for PhaseStabilityTracker
impl Send for PhaseStabilityTracker
impl Sync for PhaseStabilityTracker
impl Unpin for PhaseStabilityTracker
impl UnwindSafe for PhaseStabilityTracker
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