pub struct RunnableFifo { /* private fields */ }Expand description
Scheduler that does FIFO in order of when tasks become runnable. This scheduler is completely stateless and has negligible overhead.
Implementations§
Source§impl RunnableFifo
impl RunnableFifo
Trait Implementations§
Source§impl Scheduler for RunnableFifo
impl Scheduler for RunnableFifo
fn push(&mut self, id: usize, _group: u64, _at: Instant)
fn pop(&mut self) -> Option<usize>
fn is_runnable(&self) -> bool
fn clear_task_state(&mut self, _id: usize, _group: u64)
fn clear_group_state(&mut self, _group: u64)
fn observe( &mut self, _id: usize, _group: u64, _start: Instant, _end: Instant, _ready: bool, )
Auto Trait Implementations§
impl Freeze for RunnableFifo
impl RefUnwindSafe for RunnableFifo
impl Send for RunnableFifo
impl Sync for RunnableFifo
impl Unpin for RunnableFifo
impl UnwindSafe for RunnableFifo
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