pub struct CgroupScopeReport {
pub status: CgroupScopeStatus,
pub errno: Option<String>,
pub reason: Option<String>,
}Expand description
What became of this session’s cgroup scope, carried into --explain-scope, into
session_start.effective_grants.cgroup_scope and into mur doctor’s cgroup scope: line.
Filled from a performed operation, never inferred: at launch from [prepare_scope]’s outcome,
under --explain-scope and mur doctor from probe_scope, which creates and removes a
child cgroup through the same calls a launch makes.
Fields§
§status: CgroupScopeStatusWhat happened.
errno: Option<String>The symbolic errno of the call that failed, for CgroupScopeStatus::Unavailable when
that call left one (EROFS, EACCES, …). Absent from the JSON otherwise.
reason: Option<String>Why, for CgroupScopeStatus::Unavailable and CgroupScopeStatus::NotRequired. For
unavailable it is the reason text E-RUN-012 prints on the same host. Absent from the
JSON for delegated, which carries no path because the path differs between processes.
Implementations§
Source§impl CgroupScopeReport
impl CgroupScopeReport
Sourcepub fn no_scope_required() -> Self
pub fn no_scope_required() -> Self
No scope is required because this capsule can reach no subprocess. Public on
IoMaxReport::no_scope_required’s terms.
Trait Implementations§
Source§impl Clone for CgroupScopeReport
impl Clone for CgroupScopeReport
Source§impl Debug for CgroupScopeReport
impl Debug for CgroupScopeReport
Source§impl Default for CgroupScopeReport
impl Default for CgroupScopeReport
impl Eq for CgroupScopeReport
Source§impl PartialEq for CgroupScopeReport
impl PartialEq for CgroupScopeReport
Source§impl Serialize for CgroupScopeReport
impl Serialize for CgroupScopeReport
impl StructuralPartialEq for CgroupScopeReport
Auto Trait Implementations§
impl Forget for CgroupScopeReport
impl Freeze for CgroupScopeReport
impl Move for CgroupScopeReport
impl RefUnwindSafe for CgroupScopeReport
impl Send for CgroupScopeReport
impl Sync for CgroupScopeReport
impl Unpin for CgroupScopeReport
impl UnsafeUnpin for CgroupScopeReport
impl UnwindSafe for CgroupScopeReport
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
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
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> ⓘ
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> ⓘ
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
NoneValue::null_value produces.