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 (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 SchedulerPolicy
Source§impl Debug for SchedulerPolicy
impl Debug for SchedulerPolicy
Source§impl Display for SchedulerPolicy
impl Display for SchedulerPolicy
impl Eq for SchedulerPolicy
Source§impl PartialEq for SchedulerPolicy
impl PartialEq for SchedulerPolicy
Source§fn eq(&self, other: &SchedulerPolicy) -> bool
fn eq(&self, other: &SchedulerPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.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
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.