Trait sysinfo::ProcessExt
[−]
[src]
pub trait ProcessExt {
fn new(pid: pid_t, parent: Option<pid_t>, start_time: u64) -> Self;
fn kill(&self, signal: Signal) -> bool;
}Contains all the methods of the Process struct.
Required Methods
fn new(pid: pid_t, parent: Option<pid_t>, start_time: u64) -> Self
Create a new process only containing the given information.
fn kill(&self, signal: Signal) -> bool
Sends the given signal to the process.
Implementors
impl ProcessExt for Process