Struct nix::sched::CpuSet
#[repr(C)]
pub struct CpuSet { /* fields hidden */ }Documentation
CpuSet represent a bit-mask of CPUs. CpuSets are used by sched_setaffinity and sched_getaffinity for example.
This is a wrapper around libc::cpu_set_t.
Implementations
Trait Implementations
impl Debug for CpuSet
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Hash for CpuSet
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl StructuralEq for CpuSetimpl StructuralPartialEq for CpuSetAuto Trait Implementations
impl RefUnwindSafe for CpuSetimpl UnwindSafe for CpuSetBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T