pub struct WindowsMemoryContext {
pub process_private_usage: Annotated<u64>,
pub process_peak_workingset_size: Annotated<u64>,
pub process_peak_pagefile_usage: Annotated<u64>,
pub process_allocation_attempt: Annotated<u64>,
}
Fields§
§process_private_usage: Annotated<u64>
The private byte usage of the process.
process_peak_workingset_size: Annotated<u64>
The peak working set usage of the process.
process_peak_pagefile_usage: Annotated<u64>
The peak pagefile usage of the process.
process_allocation_attempt: Annotated<u64>
The allocation request that caused OOM bytes.
Trait Implementations§
Source§impl Clone for WindowsMemoryContext
impl Clone for WindowsMemoryContext
Source§fn clone(&self) -> WindowsMemoryContext
fn clone(&self) -> WindowsMemoryContext
Returns a copy of the value. Read more
1.0.0 · 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 WindowsMemoryContext
impl Debug for WindowsMemoryContext
Source§impl Default for WindowsMemoryContext
impl Default for WindowsMemoryContext
Source§fn default() -> WindowsMemoryContext
fn default() -> WindowsMemoryContext
Returns the “default value” for a type. Read more
Source§impl Empty for WindowsMemoryContext
impl Empty for WindowsMemoryContext
Source§impl From<WindowsMemory> for WindowsMemoryContext
impl From<WindowsMemory> for WindowsMemoryContext
Source§impl FromObjectRef for WindowsMemoryContext
impl FromObjectRef for WindowsMemoryContext
Source§fn from_object_ref(__obj: &mut Object<Value>) -> Self
fn from_object_ref(__obj: &mut Object<Value>) -> Self
Creates a meta structure from key value pairs. Read more
Source§impl FromValue for WindowsMemoryContext
impl FromValue for WindowsMemoryContext
Source§fn from_value(__value: Annotated<Value>) -> Annotated<Self>
fn from_value(__value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
Source§impl IntoObjectRef for WindowsMemoryContext
impl IntoObjectRef for WindowsMemoryContext
Source§fn into_object_ref(self, __map: &mut Object<Value>)
fn into_object_ref(self, __map: &mut Object<Value>)
Boxes the meta structure back into an object of values. Read more
Source§impl IntoValue for WindowsMemoryContext
impl IntoValue for WindowsMemoryContext
Source§fn into_value(self) -> Value
fn into_value(self) -> Value
Boxes the meta structure back into a value.
Source§fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
fn serialize_payload<S>(
&self,
__serializer: S,
__behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
Self: Sized,
S: Serializer,
Efficiently serializes the payload directly.
Source§fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
fn extract_child_meta(&self) -> MetaMapwhere
Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
Self: Sized,
Extracts the meta tree out of annotated value. Read more
Source§impl PartialEq for WindowsMemoryContext
impl PartialEq for WindowsMemoryContext
Source§impl ProcessValue for WindowsMemoryContext
impl ProcessValue for WindowsMemoryContext
Source§fn value_type(&self) -> EnumSet<ValueType>
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
Source§fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_value<P>(
&mut self,
__meta: &mut Meta,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Executes a processor on this value.
Source§fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
fn process_child_values<P>(
&mut self,
__processor: &mut P,
__state: &ProcessingState<'_>,
) -> ProcessingResultwhere
P: Processor,
Recurses into children of this value.
impl StructuralPartialEq for WindowsMemoryContext
Auto Trait Implementations§
impl Freeze for WindowsMemoryContext
impl RefUnwindSafe for WindowsMemoryContext
impl Send for WindowsMemoryContext
impl Sync for WindowsMemoryContext
impl Unpin for WindowsMemoryContext
impl UnwindSafe for WindowsMemoryContext
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