[][src]Enum heim_process::os::windows::Priority

pub enum Priority {
    Idle,
    BelowNormal,
    Normal,
    AboveNormal,
    High,
    RealTime,
}
This is supported on Windows only.

Process priority class.

See GetPriorityClass function for more information.

Variants

Idle

Process whose threads run only when the system is idle.

The threads of the process are preempted by the threads of any process running in a higher priority class.

BelowNormal

Process that has priority above Idle but below Normal.

Normal

Process with no special scheduling needs.

AboveNormal

Process that has priority above Normal but below High.

High

Process that performs time-critical tasks that must be executed immediately.

The threads of the process preempt the threads of normal or idle priority class processes.

RealTime

Process that has the highest possible priority.

The threads of the process preempt the threads of all other processes, including operating system processes performing important tasks.

Trait Implementations

impl Clone for Priority[src]

impl Copy for Priority[src]

impl Debug for Priority[src]

impl Default for Priority[src]

impl Eq for Priority[src]

impl Hash for Priority[src]

impl Ord for Priority[src]

impl PartialEq<Priority> for Priority[src]

impl PartialOrd<Priority> for Priority[src]

impl StructuralEq for Priority[src]

impl StructuralPartialEq for Priority[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.