#[repr(u8)]pub enum SchedulingClass {
Stop = 0,
Deadline = 1,
Realtime = 2,
Fair = 3,
}Expand description
Scheduler class carried by a remotely observed CPU load summary.
Variants§
Stop = 0
Runtime-owned per-CPU stopper work.
Deadline = 1
Absolute-deadline EDF work.
Realtime = 2
Fixed-priority FIFO or round-robin work.
Fair = 3
EEVDF work: Normal, Batch, and SCHED_IDLE share this class, matching
Linux’s single cfs_rq. The per-CPU dedicated idle thread is outside
every summary class because it is never queued or pushed.
Trait Implementations§
Source§impl Clone for SchedulingClass
impl Clone for SchedulingClass
Source§fn clone(&self) -> SchedulingClass
fn clone(&self) -> SchedulingClass
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 SchedulingClass
Source§impl Debug for SchedulingClass
impl Debug for SchedulingClass
impl Eq for SchedulingClass
Source§impl PartialEq for SchedulingClass
impl PartialEq for SchedulingClass
impl StructuralPartialEq for SchedulingClass
Auto Trait Implementations§
impl Freeze for SchedulingClass
impl RefUnwindSafe for SchedulingClass
impl Send for SchedulingClass
impl Sync for SchedulingClass
impl Unpin for SchedulingClass
impl UnsafeUnpin for SchedulingClass
impl UnwindSafe for SchedulingClass
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