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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PriorityLevel
Source§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
impl Eq for PriorityLevel
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 (const: unstable) · 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§fn eq(&self, other: &PriorityLevel) -> bool
fn eq(&self, other: &PriorityLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PriorityLevel
impl PartialOrd 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 UnsafeUnpin 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