Enum rustix::thread::prctl::CoreSchedulingScope
source · #[repr(u32)]pub enum CoreSchedulingScope {
Thread = 0,
ThreadGroup = 1,
ProcessGroup = 2,
}
Expand description
PR_SCHED_CORE_SCOPE_*
.
Variants§
Thread = 0
Operation will be performed for the thread.
ThreadGroup = 1
Operation will be performed for all tasks in the task group of the process.
ProcessGroup = 2
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 for CoreSchedulingScope
impl PartialEq for CoreSchedulingScope
source§impl TryFrom<u32> for CoreSchedulingScope
impl TryFrom<u32> for CoreSchedulingScope
impl Copy for CoreSchedulingScope
impl Eq for CoreSchedulingScope
impl StructuralPartialEq for CoreSchedulingScope
Auto Trait Implementations§
impl Freeze for CoreSchedulingScope
impl RefUnwindSafe for CoreSchedulingScope
impl Send for CoreSchedulingScope
impl Sync for CoreSchedulingScope
impl Unpin for CoreSchedulingScope
impl UnwindSafe for CoreSchedulingScope
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)