pub struct RRTask<T, const MAX_TIME_SLICE: usize> { /* private fields */ }
Expand description
A task wrapper for the RRScheduler
.
It add a time slice counter to use in round-robin scheduling.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, const MAX_TIME_SLICE: usize> RefUnwindSafe for RRTask<T, MAX_TIME_SLICE>where
T: RefUnwindSafe,
impl<T, const MAX_TIME_SLICE: usize> Send for RRTask<T, MAX_TIME_SLICE>where
T: Send,
impl<T, const MAX_TIME_SLICE: usize> Sync for RRTask<T, MAX_TIME_SLICE>where
T: Sync,
impl<T, const MAX_TIME_SLICE: usize> Unpin for RRTask<T, MAX_TIME_SLICE>where
T: Unpin,
impl<T, const MAX_TIME_SLICE: usize> UnwindSafe for RRTask<T, MAX_TIME_SLICE>where
T: UnwindSafe,
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