pub enum SchedClass {
Fifo,
Edf,
Sporadic,
BestEffort,
TimeTriggered,
}Expand description
Scheduling class — picks the runtime queue + selection policy for the contained callbacks.
Phase 110.A only exercises Fifo; Edf lands with the
EdfReadySet plumb-up in 110.B.b; Sporadic is post-v1 (110.E);
TimeTriggered is post-v1 (110.G).
Variants§
Fifo
Edf
Sporadic
BestEffort
TimeTriggered
👎Deprecated since 0.1.0:
use SchedContext.tt_window_offset_us + tt_window_duration_us instead; TT now cooperates with Fifo / Edf / Sporadic / BestEffort classes
Deprecated as of Phase 110.G refactor — TT is now an
orthogonal slot-membership annotation via
SchedContext.tt_window_offset_us /
tt_window_duration_us, not a class. Keeping the variant
for one release so exhaustive matches don’t break; treated
as Fifo in dispatch.
Trait Implementations§
Source§impl Clone for SchedClass
impl Clone for SchedClass
Source§fn clone(&self) -> SchedClass
fn clone(&self) -> SchedClass
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 SchedClass
impl Debug for SchedClass
Source§impl Default for SchedClass
impl Default for SchedClass
Source§fn default() -> SchedClass
fn default() -> SchedClass
Returns the “default value” for a type. Read more
Source§impl PartialEq for SchedClass
impl PartialEq for SchedClass
impl Copy for SchedClass
impl Eq for SchedClass
impl StructuralPartialEq for SchedClass
Auto Trait Implementations§
impl Freeze for SchedClass
impl RefUnwindSafe for SchedClass
impl Send for SchedClass
impl Sync for SchedClass
impl Unpin for SchedClass
impl UnsafeUnpin for SchedClass
impl UnwindSafe for SchedClass
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