pub struct PriorityDrainRecommendation {
pub should_drain: bool,
pub reason: PriorityDrainReason,
pub requeue_count: u64,
pub aged_promotions: u64,
pub max_priority_age: u32,
pub requeue_counter_headroom: u64,
pub aged_promotion_counter_headroom: u64,
pub fix: &'static str,
}Expand description
Structured drain recommendation for priority scheduler counters.
Fields§
§should_drain: boolTrue when the scheduler should drain telemetry before accepting more work.
reason: PriorityDrainReasonConcrete reason for the recommendation.
requeue_count: u64Requeue counter value included for propagation into launch telemetry.
aged_promotions: u64Aged-promotion counter value included for propagation into launch telemetry.
max_priority_age: u32Largest priority age observed for any queued slot.
requeue_counter_headroom: u64Remaining requeue counter increments before exact overflow.
aged_promotion_counter_headroom: u64Remaining aged-promotion counter increments before exact overflow.
fix: &'static strStable operator fix string to surface with drain diagnostics.
Trait Implementations§
Source§impl Clone for PriorityDrainRecommendation
impl Clone for PriorityDrainRecommendation
Source§fn clone(&self) -> PriorityDrainRecommendation
fn clone(&self) -> PriorityDrainRecommendation
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 PriorityDrainRecommendation
Source§impl Debug for PriorityDrainRecommendation
impl Debug for PriorityDrainRecommendation
impl Eq for PriorityDrainRecommendation
impl StructuralPartialEq for PriorityDrainRecommendation
Auto Trait Implementations§
impl Freeze for PriorityDrainRecommendation
impl RefUnwindSafe for PriorityDrainRecommendation
impl Send for PriorityDrainRecommendation
impl Sync for PriorityDrainRecommendation
impl Unpin for PriorityDrainRecommendation
impl UnsafeUnpin for PriorityDrainRecommendation
impl UnwindSafe for PriorityDrainRecommendation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.