Struct proclist::ProcessInfo
source · pub struct ProcessInfo {
pub name: String,
pub pid: u32,
pub parent_pid: u32,
pub threads_count: u32,
}
Expand description
Process information.
Fields
name: String
Name of the process.
pid: u32
Identifier of the process.
parent_pid: u32
Identifier of the parent process.
threads_count: u32
Number of execution threads started by the process.
Trait Implementations
sourceimpl Clone for ProcessInfo
impl Clone for ProcessInfo
sourcefn clone(&self) -> ProcessInfo
fn clone(&self) -> ProcessInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for ProcessInfo
impl Send for ProcessInfo
impl Sync for ProcessInfo
impl Unpin for ProcessInfo
impl UnwindSafe for ProcessInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more