pub struct ProcessIdentity {
pub pid: Option<u32>,
pub name: String,
pub attributed: bool,
}Expand description
Stable identity used to aggregate connections into process rows.
Fields§
§pid: Option<u32>§name: String§attributed: boolImplementations§
Source§impl ProcessIdentity
impl ProcessIdentity
pub fn display_name(&self) -> String
Trait Implementations§
Source§impl Clone for ProcessIdentity
impl Clone for ProcessIdentity
Source§fn clone(&self) -> ProcessIdentity
fn clone(&self) -> ProcessIdentity
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 ProcessIdentity
impl Debug for ProcessIdentity
impl Eq for ProcessIdentity
Source§impl Hash for ProcessIdentity
impl Hash for ProcessIdentity
Source§impl Ord for ProcessIdentity
impl Ord for ProcessIdentity
Source§fn cmp(&self, other: &ProcessIdentity) -> Ordering
fn cmp(&self, other: &ProcessIdentity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProcessIdentity
impl PartialEq for ProcessIdentity
Source§impl PartialOrd for ProcessIdentity
impl PartialOrd for ProcessIdentity
impl StructuralPartialEq for ProcessIdentity
Auto Trait Implementations§
impl Freeze for ProcessIdentity
impl RefUnwindSafe for ProcessIdentity
impl Send for ProcessIdentity
impl Sync for ProcessIdentity
impl Unpin for ProcessIdentity
impl UnsafeUnpin for ProcessIdentity
impl UnwindSafe for ProcessIdentity
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