pub enum PriorityDrainReason {
None,
PendingTelemetry,
RequeueCounterNearLimit,
AgedPromotionCounterNearLimit,
RequeueCounterExhausted,
AgedPromotionCounterExhausted,
}Expand description
Reason a priority scheduler should drain telemetry into a launch request.
Variants§
None
No priority telemetry is pending.
PendingTelemetry
Non-empty priority telemetry should be propagated to the policy.
RequeueCounterNearLimit
The requeue counter is inside the configured drain headroom.
AgedPromotionCounterNearLimit
The aged-promotion counter is inside the configured drain headroom.
RequeueCounterExhausted
The requeue counter is exhausted.
AgedPromotionCounterExhausted
The aged-promotion counter is exhausted.
Implementations§
Trait Implementations§
Source§impl Clone for PriorityDrainReason
impl Clone for PriorityDrainReason
Source§fn clone(&self) -> PriorityDrainReason
fn clone(&self) -> PriorityDrainReason
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 PriorityDrainReason
Source§impl Debug for PriorityDrainReason
impl Debug for PriorityDrainReason
impl Eq for PriorityDrainReason
Source§impl Hash for PriorityDrainReason
impl Hash for PriorityDrainReason
Source§impl PartialEq for PriorityDrainReason
impl PartialEq for PriorityDrainReason
Source§fn eq(&self, other: &PriorityDrainReason) -> bool
fn eq(&self, other: &PriorityDrainReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PriorityDrainReason
Auto Trait Implementations§
impl Freeze for PriorityDrainReason
impl RefUnwindSafe for PriorityDrainReason
impl Send for PriorityDrainReason
impl Sync for PriorityDrainReason
impl Unpin for PriorityDrainReason
impl UnsafeUnpin for PriorityDrainReason
impl UnwindSafe for PriorityDrainReason
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.