Struct pentry::Process [] [src]

pub struct Process {
    // some fields omitted
}

Basic Process Object.

Methods

impl Process
[src]

fn pid(&self) -> i32

Get Process ID.

fn ppid(&self) -> i32

Get Parent Process ID.

fn name(&self) -> &str

Get Process Name. This value maybe program name.

fn path(&self) -> Option<&str>

Get Full file path of program if provided.

fn parent(&self) -> Result<ProcessProblem>

Get Parent Process Object.

Trait Implementations

impl Debug for Process
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.