Enum rustix::thread::CoreSchedulingScope
source · #[repr(u32)]
pub enum CoreSchedulingScope {
Thread,
ThreadGroup,
ProcessGroup,
}Available on crate feature
thread only.Expand description
PR_SCHED_CORE_SCOPE_*.
Variants§
Thread
Operation will be performed for the thread.
ThreadGroup
Operation will be performed for all tasks in the task group of the process.
ProcessGroup
Operation will be performed for all processes in the process group.
Trait Implementations§
source§impl Clone for CoreSchedulingScope
impl Clone for CoreSchedulingScope
source§fn clone(&self) -> CoreSchedulingScope
fn clone(&self) -> CoreSchedulingScope
Returns a copy 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 CoreSchedulingScope
impl Debug for CoreSchedulingScope
source§impl PartialEq<CoreSchedulingScope> for CoreSchedulingScope
impl PartialEq<CoreSchedulingScope> for CoreSchedulingScope
source§fn eq(&self, other: &CoreSchedulingScope) -> bool
fn eq(&self, other: &CoreSchedulingScope) -> bool
This method tests for
self and other values to be equal, and is used
by ==.