pub struct ProcStatus {
pub name: String,
pub uid: u32,
}Expand description
A snapshot of process status information from procfs.
Fields§
§name: StringCommand name of the process.
uid: u32Real UID of the process.
Trait Implementations§
Source§impl Clone for ProcStatus
impl Clone for ProcStatus
Source§fn clone(&self) -> ProcStatus
fn clone(&self) -> ProcStatus
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 ProcStatus
impl Debug for ProcStatus
impl Eq for ProcStatus
Source§impl PartialEq for ProcStatus
impl PartialEq for ProcStatus
Source§fn eq(&self, other: &ProcStatus) -> bool
fn eq(&self, other: &ProcStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcStatus
Auto Trait Implementations§
impl Freeze for ProcStatus
impl RefUnwindSafe for ProcStatus
impl Send for ProcStatus
impl Sync for ProcStatus
impl Unpin for ProcStatus
impl UnsafeUnpin for ProcStatus
impl UnwindSafe for ProcStatus
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