pub enum TieBreakReason {
EffectivePriority,
BaseRatio,
Weight,
RemainingTime,
ArrivalSeq,
JobId,
Continuation,
}Expand description
Tie-break reason for ordering decisions.
Variants§
EffectivePriority
Effective priority (base ratio + aging) decided.
BaseRatio
Base ratio (w/p) decided.
Weight
Weight decided.
RemainingTime
Remaining time decided.
ArrivalSeq
Arrival sequence decided.
JobId
Job id decided.
Continuation
Continued current job without comparison.
Trait Implementations§
Source§impl Clone for TieBreakReason
impl Clone for TieBreakReason
Source§fn clone(&self) -> TieBreakReason
fn clone(&self) -> TieBreakReason
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 TieBreakReason
Source§impl Debug for TieBreakReason
impl Debug for TieBreakReason
impl Eq for TieBreakReason
Source§impl PartialEq for TieBreakReason
impl PartialEq for TieBreakReason
Source§fn eq(&self, other: &TieBreakReason) -> bool
fn eq(&self, other: &TieBreakReason) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TieBreakReason
Auto Trait Implementations§
impl Freeze for TieBreakReason
impl RefUnwindSafe for TieBreakReason
impl Send for TieBreakReason
impl Sync for TieBreakReason
impl Unpin for TieBreakReason
impl UnsafeUnpin for TieBreakReason
impl UnwindSafe for TieBreakReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.