pub trait CpusetOps:
Send
+ Sync
+ 'static {
// Required methods
fn cpuset_cpus(&self) -> Vec<u32>;
fn set_cpuset_cpus(&self, cpus: Vec<u32>);
}Required Methods§
Sourcefn cpuset_cpus(&self) -> Vec<u32>
fn cpuset_cpus(&self) -> Vec<u32>
Returns the cpuset cpus of the cgroup.
Sourcefn set_cpuset_cpus(&self, cpus: Vec<u32>)
fn set_cpuset_cpus(&self, cpus: Vec<u32>)
Sets the cpuset cpus of the cgroup.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".