pub enum PriorityLevel {
Idle,
Lowest,
BelowNormal,
Normal,
AboveNormal,
Highest,
TimeCritical,
}Expand description
A thread scheduling priority level.
Variants§
Trait Implementations§
Source§impl Clone for PriorityLevel
impl Clone for PriorityLevel
Source§fn clone(&self) -> PriorityLevel
fn clone(&self) -> PriorityLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PriorityLevel
impl Debug for PriorityLevel
Source§impl Default for PriorityLevel
impl Default for PriorityLevel
Source§fn default() -> PriorityLevel
fn default() -> PriorityLevel
Returns the “default value” for a type. Read more
Source§impl Ord for PriorityLevel
impl Ord for PriorityLevel
Source§fn cmp(&self, other: &PriorityLevel) -> Ordering
fn cmp(&self, other: &PriorityLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PriorityLevel
impl PartialEq for PriorityLevel
Source§impl PartialOrd for PriorityLevel
impl PartialOrd for PriorityLevel
impl Copy for PriorityLevel
impl Eq for PriorityLevel
impl StructuralPartialEq for PriorityLevel
Auto Trait Implementations§
impl Freeze for PriorityLevel
impl RefUnwindSafe for PriorityLevel
impl Send for PriorityLevel
impl Sync for PriorityLevel
impl Unpin for PriorityLevel
impl UnwindSafe for PriorityLevel
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