pub struct ProcessStateContext {
pub process_id: Annotated<u64>,
pub memory_state: Annotated<MemoryStateContext>,
pub file_system_state: Annotated<FileSystemStateContext>,
}
Expand description
The state of a process.
Fields§
§process_id: Annotated<u64>
The identifier of the process.
memory_state: Annotated<MemoryStateContext>
Process memory state
file_system_state: Annotated<FileSystemStateContext>
Process file system state
Trait Implementations§
Source§impl Clone for ProcessStateContext
impl Clone for ProcessStateContext
Source§fn clone(&self) -> ProcessStateContext
fn clone(&self) -> ProcessStateContext
Returns a duplicate 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 ProcessStateContext
impl Debug for ProcessStateContext
Source§impl Default for ProcessStateContext
impl Default for ProcessStateContext
Source§fn default() -> ProcessStateContext
fn default() -> ProcessStateContext
Returns the “default value” for a type. Read more
Source§impl Empty for ProcessStateContext
impl Empty for ProcessStateContext
Source§impl From<ProcessState> for ProcessStateContext
impl From<ProcessState> for ProcessStateContext
Source§impl FromObjectRef for ProcessStateContext
impl FromObjectRef for ProcessStateContext
Source§impl FromValue for ProcessStateContext
impl FromValue for ProcessStateContext
Source§impl IntoObjectRef for ProcessStateContext
impl IntoObjectRef for ProcessStateContext
Source§impl IntoValue for ProcessStateContext
impl IntoValue for ProcessStateContext
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.
Source§impl PartialEq for ProcessStateContext
impl PartialEq for ProcessStateContext
Source§impl ProcessValue for ProcessStateContext
impl ProcessValue for ProcessStateContext
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 ProcessStateContext
Auto Trait Implementations§
impl Freeze for ProcessStateContext
impl RefUnwindSafe for ProcessStateContext
impl Send for ProcessStateContext
impl Sync for ProcessStateContext
impl Unpin for ProcessStateContext
impl UnwindSafe for ProcessStateContext
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