pub struct OsSnapshot {
pub last_suspend: Option<SuspendRecord>,
pub last_resumed_turn: Option<u32>,
pub process_by_agent: Vec<ProcessRecord>,
pub budget_exceeded: Vec<BudgetExceededRecord>,
pub signals: Vec<SignalDisposedRecord>,
pub page_out_count: u32,
pub page_in_count: u32,
pub tool_gated_count: u32,
pub memory_written_count: u32,
pub memory_queried_count: u32,
pub memory_validation_failed_count: u32,
pub memory_retrieval_result_count: u32,
}Expand description
Aggregated kernel OS state derived from session log (audit view).
Fields§
§last_suspend: Option<SuspendRecord>§last_resumed_turn: Option<u32>§process_by_agent: Vec<ProcessRecord>§budget_exceeded: Vec<BudgetExceededRecord>§signals: Vec<SignalDisposedRecord>§page_out_count: u32§page_in_count: u32§tool_gated_count: u32§memory_written_count: u32§memory_queried_count: u32§memory_validation_failed_count: u32§memory_retrieval_result_count: u32Trait Implementations§
Source§impl Clone for OsSnapshot
impl Clone for OsSnapshot
Source§fn clone(&self) -> OsSnapshot
fn clone(&self) -> OsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OsSnapshot
impl Debug for OsSnapshot
Source§impl Default for OsSnapshot
impl Default for OsSnapshot
Source§fn default() -> OsSnapshot
fn default() -> OsSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OsSnapshot
impl<'de> Deserialize<'de> for OsSnapshot
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OsSnapshot
impl PartialEq for OsSnapshot
Source§fn eq(&self, other: &OsSnapshot) -> bool
fn eq(&self, other: &OsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OsSnapshot
impl Serialize for OsSnapshot
impl StructuralPartialEq for OsSnapshot
Auto Trait Implementations§
impl Freeze for OsSnapshot
impl RefUnwindSafe for OsSnapshot
impl Send for OsSnapshot
impl Sync for OsSnapshot
impl Unpin for OsSnapshot
impl UnsafeUnpin for OsSnapshot
impl UnwindSafe for OsSnapshot
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