pub enum CgroupScopeStatus {
Delegated,
Unavailable,
NotRequired,
NotProbed,
}Expand description
Whether this session’s subprocesses get a delegated cgroup v2 scope, the precondition every
capsule that can run a subprocess is refused without (E-RUN-012).
Self::NotProbed is the Default so a report nobody filled in claims nothing, on
IoMaxStatus’s terms.
Variants§
Delegated
A child cgroup was created under the delegated base: at launch the session’s scope, under
--explain-scope and mur doctor a throwaway one removed again.
No child cgroup could be created, so a launch of a capsule that needs one is refused with
E-RUN-012. Never seen at launch: a refused launch writes no session_start.
NotRequired
No scope was asked for: the capsule declares no way to run a subprocess, or this is not Linux.
NotProbed
Nobody asked. The Default.
Trait Implementations§
Source§impl Clone for CgroupScopeStatus
impl Clone for CgroupScopeStatus
impl Copy for CgroupScopeStatus
Source§impl Debug for CgroupScopeStatus
impl Debug for CgroupScopeStatus
Source§impl Default for CgroupScopeStatus
impl Default for CgroupScopeStatus
impl Eq for CgroupScopeStatus
Source§impl PartialEq for CgroupScopeStatus
impl PartialEq for CgroupScopeStatus
Source§impl Serialize for CgroupScopeStatus
impl Serialize for CgroupScopeStatus
impl StructuralPartialEq for CgroupScopeStatus
Auto Trait Implementations§
impl Forget for CgroupScopeStatus
impl Freeze for CgroupScopeStatus
impl RefUnwindSafe for CgroupScopeStatus
impl Send for CgroupScopeStatus
impl Sync for CgroupScopeStatus
impl Unpin for CgroupScopeStatus
impl UnsafeUnpin for CgroupScopeStatus
impl UnwindSafe for CgroupScopeStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
Source§type NoneType = T
type NoneType = T
The type of the none-equivalent value that
NoneValue::null_value produces.Source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.