Struct SchedulerAlgorithmThreadState Copy item path Source pub struct SchedulerAlgorithmThreadState {
current_priority: Priority ,
}Expand description Per-thread state used by the scheduling algorithm.
The current priority of the thread.
Kept private so the priority cannot be casually mutated in place while
the thread is indexed in a PriorityQueueSet; priority changes must go
through the scheduling algorithm.
Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
[From]<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.