#[repr(u8)]pub enum ProcessPriority {
RealTime = 0,
System = 1,
Normal = 2,
Low = 3,
Idle = 4,
}Expand description
Process priority
Variants§
RealTime = 0
Real-time priority (highest)
System = 1
System priority
Normal = 2
Normal user priority
Low = 3
Low priority
Idle = 4
Idle priority (lowest)
Trait Implementations§
Source§impl Clone for ProcessPriority
impl Clone for ProcessPriority
Source§fn clone(&self) -> ProcessPriority
fn clone(&self) -> ProcessPriority
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessPriority
impl Debug for ProcessPriority
Source§impl Ord for ProcessPriority
impl Ord for ProcessPriority
Source§impl PartialEq for ProcessPriority
impl PartialEq for ProcessPriority
Source§impl PartialOrd for ProcessPriority
impl PartialOrd for ProcessPriority
Source§fn partial_cmp(&self, other: &ProcessPriority) -> Option<Ordering>
fn partial_cmp(&self, other: &ProcessPriority) -> Option<Ordering>
impl Copy for ProcessPriority
impl Eq for ProcessPriority
impl StructuralPartialEq for ProcessPriority
Auto Trait Implementations§
impl Freeze for ProcessPriority
impl RefUnwindSafe for ProcessPriority
impl Send for ProcessPriority
impl Sync for ProcessPriority
impl Unpin for ProcessPriority
impl UnwindSafe for ProcessPriority
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)