CpuSet represent a bit-mask of CPUs. CpuSets are used by sched_setaffinity and sched_getaffinity for example.
This is a wrapper around
Create a new and empty CpuSet.
Test to see if a CPU is in the CpuSet.
field is the CPU id to test
Add a CPU to CpuSet.
field is the CPU id to add
Remove a CPU from CpuSet.
field is the CPU id to remove
Return the maximum number of CPU in CpuSet
pub fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl StructuralEq for CpuSet[src]
impl StructuralPartialEq for CpuSet[src]
impl RefUnwindSafe for CpuSet[src]
impl UnwindSafe for CpuSet[src]
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.