pub enum SchedClass {
Fifo,
Edf,
Sporadic,
BestEffort,
}Expand description
Scheduling class — picks the runtime queue + selection policy for the contained callbacks.
Originally only Fifo was exercised; Edf came with the
EdfReadySet plumb-up, and Sporadic was planned for after v1;
time-triggered windows are not a class but a per-SchedContext gate
(tt_window_offset_us / tt_window_duration_us).
Variants§
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 (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 SchedClass
Source§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
impl Eq for SchedClass
Source§impl PartialEq for SchedClass
impl PartialEq 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