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