pub struct ProcessStatsSnapshot {
pub snapshot_ref: ProcessStatsSnapshotRef,
pub process_ref: IsolatedProcessRef,
pub cpu_millis: Option<u64>,
pub memory_bytes: Option<u64>,
pub process_count: Option<u32>,
pub filesystem_bytes: Option<u64>,
pub network_bytes: Option<u64>,
pub exit_code: Option<i32>,
pub redacted_summary: String,
}Expand description
Carries process stats snapshot data across a host-port boundary. Constructing the value does not call the host; the port method that receives it documents any adapter, network, or storage effect.
Fields§
§snapshot_ref: ProcessStatsSnapshotRefTyped snapshot ref reference. Resolving or executing it is a separate policy-gated step.
process_ref: IsolatedProcessRefTyped process ref reference. Resolving or executing it is a separate policy-gated step.
cpu_millis: Option<u64>Time value in milliseconds for cpu millis. Use it for timeout, ordering, or diagnostic calculations.
memory_bytes: Option<u64>memory bytes used for bounds checks, summaries, or truncation evidence.
process_count: Option<u32>Count of process items observed or included in this record.
filesystem_bytes: Option<u64>filesystem bytes used for bounds checks, summaries, or truncation evidence.
network_bytes: Option<u64>network bytes used for bounds checks, summaries, or truncation evidence.
exit_code: Option<i32>Process exit status when the process reported one.
redacted_summary: StringRedacted human-readable summary safe for events, telemetry, and logs.
Trait Implementations§
Source§impl Clone for ProcessStatsSnapshot
impl Clone for ProcessStatsSnapshot
Source§fn clone(&self) -> ProcessStatsSnapshot
fn clone(&self) -> ProcessStatsSnapshot
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProcessStatsSnapshot
impl Debug for ProcessStatsSnapshot
Source§impl<'de> Deserialize<'de> for ProcessStatsSnapshot
impl<'de> Deserialize<'de> for ProcessStatsSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ProcessStatsSnapshot
impl PartialEq for ProcessStatsSnapshot
Source§fn eq(&self, other: &ProcessStatsSnapshot) -> bool
fn eq(&self, other: &ProcessStatsSnapshot) -> bool
self and other values to be equal, and is used by ==.