pub struct ProcessHandleSummary {
pub handle_type: String,
pub id: ProcessId,
pub process_id: ProcessId,
pub descriptor: ProcessHandleDescriptor,
pub definition: Option<ProcessDefinitionSummary>,
pub status: ProcessLifecycleStatus,
}Fields§
§handle_type: String§id: ProcessId§process_id: ProcessId§descriptor: ProcessHandleDescriptor§definition: Option<ProcessDefinitionSummary>§status: ProcessLifecycleStatusImplementations§
Source§impl ProcessHandleSummary
impl ProcessHandleSummary
pub fn new( process_id: impl Into<ProcessId>, descriptor: ProcessHandleDescriptor, status: ProcessLifecycleStatus, ) -> Self
pub fn with_definition( self, definition: Option<ProcessDefinitionSummary>, ) -> Self
pub fn from_grant_record( grant: ProcessHandleGrant, record: ProcessRecord, ) -> Self
Trait Implementations§
Source§impl Clone for ProcessHandleSummary
impl Clone for ProcessHandleSummary
Source§fn clone(&self) -> ProcessHandleSummary
fn clone(&self) -> ProcessHandleSummary
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 ProcessHandleSummary
impl Debug for ProcessHandleSummary
Source§impl<'de> Deserialize<'de> for ProcessHandleSummary
impl<'de> Deserialize<'de> for ProcessHandleSummary
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
impl Eq for ProcessHandleSummary
Source§impl From<(ProcessHandleGrant, ProcessRecord)> for ProcessHandleSummary
impl From<(ProcessHandleGrant, ProcessRecord)> for ProcessHandleSummary
Source§fn from((grant, record): ProcessHandleGrantEntry) -> Self
fn from((grant, record): ProcessHandleGrantEntry) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProcessHandleSummary
impl PartialEq for ProcessHandleSummary
Source§fn eq(&self, other: &ProcessHandleSummary) -> bool
fn eq(&self, other: &ProcessHandleSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProcessHandleSummary
impl Serialize for ProcessHandleSummary
impl StructuralPartialEq for ProcessHandleSummary
Auto Trait Implementations§
impl Freeze for ProcessHandleSummary
impl RefUnwindSafe for ProcessHandleSummary
impl Send for ProcessHandleSummary
impl Sync for ProcessHandleSummary
impl Unpin for ProcessHandleSummary
impl UnsafeUnpin for ProcessHandleSummary
impl UnwindSafe for ProcessHandleSummary
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