pub enum CgroupPlacementConfig {
Disabled,
Current,
Root(PathBuf),
}Expand description
Controls where module cgroups are prepared.
In-process daemons default to Self::Disabled so they never derive a
production location from the host process. The shipped daemon explicitly uses
Self::Current. The ck-subc binary accepts
SUBC_CGROUP_PLACEMENT=disabled for isolated test processes; an unset
variable retains Current, and every other value is rejected at startup.
Tests that exercise placement can own a Self::Root.
Variants§
Trait Implementations§
Source§impl Clone for CgroupPlacementConfig
impl Clone for CgroupPlacementConfig
Source§impl Debug for CgroupPlacementConfig
impl Debug for CgroupPlacementConfig
Source§impl Default for CgroupPlacementConfig
impl Default for CgroupPlacementConfig
impl Eq for CgroupPlacementConfig
Source§impl PartialEq for CgroupPlacementConfig
impl PartialEq for CgroupPlacementConfig
impl StructuralPartialEq for CgroupPlacementConfig
Auto Trait Implementations§
impl Freeze for CgroupPlacementConfig
impl RefUnwindSafe for CgroupPlacementConfig
impl Send for CgroupPlacementConfig
impl Sync for CgroupPlacementConfig
impl Unpin for CgroupPlacementConfig
impl UnsafeUnpin for CgroupPlacementConfig
impl UnwindSafe for CgroupPlacementConfig
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