pub struct Priority;Expand description
Simple priority rule.
Prioritizes tasks with higher task.priority values.
(Negated because lower score = higher priority in convention.)
Trait Implementations§
Source§impl DispatchingRule for Priority
impl DispatchingRule for Priority
impl Copy for Priority
Auto Trait Implementations§
impl Freeze for Priority
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnsafeUnpin for Priority
impl UnwindSafe for Priority
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