pub enum SchedulerPolicy {
Fifo,
Priority,
ShortestFirst,
RoundRobin,
WeightedFair,
}Expand description
Scheduler policy identifier.
Variants§
Fifo
First-in, first-out.
Priority
Priority-based (highest first).
ShortestFirst
Shortest remaining time first.
RoundRobin
Round-robin with time slices.
WeightedFair
Weighted fair queuing.
Trait Implementations§
Source§impl Clone for SchedulerPolicy
impl Clone for SchedulerPolicy
Source§fn clone(&self) -> SchedulerPolicy
fn clone(&self) -> SchedulerPolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchedulerPolicy
impl Debug for SchedulerPolicy
Source§impl Display for SchedulerPolicy
impl Display for SchedulerPolicy
Source§impl PartialEq for SchedulerPolicy
impl PartialEq for SchedulerPolicy
impl Copy for SchedulerPolicy
impl Eq for SchedulerPolicy
impl StructuralPartialEq for SchedulerPolicy
Auto Trait Implementations§
impl Freeze for SchedulerPolicy
impl RefUnwindSafe for SchedulerPolicy
impl Send for SchedulerPolicy
impl Sync for SchedulerPolicy
impl Unpin for SchedulerPolicy
impl UnsafeUnpin for SchedulerPolicy
impl UnwindSafe for SchedulerPolicy
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.