Enum Cgroup Observation
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub enum CgroupObservation {
NotCollected,
Available {
snapshot: CgroupSnapshot,
},
Unsupported {
reason: String,
},
Unavailable {
reason: String,
},
}
A cgroup reading, or why the correctly targeted scope was unavailable.
Variants
NotCollected
NotCollected
All cgroup groups were explicitly excluded from collection.
Available
Available
The adapter host’s cgroup was located and read.
Fields
snapshot: CgroupSnapshot
Snapshot of the resolved cgroup identity.
Unsupported
Unsupported
No cgroup v2 reader is supported for this platform/provider.
Fields
reason: String
Missing platform or provider capability.
Unavailable
Unavailable
The target moved, exited, or could not be resolved safely.
Fields
reason: String
Safe reason targeting or collection failed.
Trait Implementations
impl Clone for CgroupObservation
impl Clone for CgroupObservation
clone
fn clone(&self) -> CgroupObservation
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for CgroupObservation
impl Debug for CgroupObservation
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for CgroupObservation
impl<'de> Deserialize<'de> for CgroupObservation
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for CgroupObservation
impl JsonSchema for CgroupObservation
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for CgroupObservation
impl PartialEq for CgroupObservation
eq
fn eq(&self, other: &CgroupObservation) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for CgroupObservation
impl Serialize for CgroupObservation
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for CgroupObservation
impl StructuralPartialEq for CgroupObservation