#[repr(u32)]pub enum ProcessPriority {
Idle = 64,
BelowNormal = 16_384,
Normal = 32,
AboveNormal = 32_768,
High = 128,
Realtime = 256,
}
Available on crate feature
process
only.Expand description
Process CPU priority.
Variants§
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 · 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 ProcessPriority
impl Debug for ProcessPriority
Source§impl From<ProcessPriority> for PROCESS_CREATION_FLAGS
impl From<ProcessPriority> for PROCESS_CREATION_FLAGS
Source§fn from(value: ProcessPriority) -> Self
fn from(value: ProcessPriority) -> Self
Converts to this type from the input type.
Source§impl From<ProcessPriority> for u32
impl From<ProcessPriority> for u32
Source§fn from(enum_value: ProcessPriority) -> Self
fn from(enum_value: ProcessPriority) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProcessPriority
impl PartialEq for ProcessPriority
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§
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