pub enum PlatformShares {
None,
Cpu,
CpuAndMemory,
}Expand description
Which halves of a run’s shares this machine can set (D29).
Variants§
None
Nothing can be set here.
Cpu
The CPU half alone: macOS’s taskpolicy.
CpuAndMemory
Both halves: a Windows job, or a Linux cgroup this process may write.
Trait Implementations§
Auto Trait Implementations§
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