Type Definition process_memory::Pid

source · []
pub type Pid = pid_t;
Expand description

On OS X a Pid is just a libc::pid_t.

Trait Implementations

Pid can be turned into a ProcessHandle with task_for_pid.

Attempt to turn a type into a ProcessHandle. Whilst Linux provides the same type for Pids and ProcessHandles, Windows and macOS do not. As such, you need to ensure that try_into_process_handle is called on all Pids to ensure cross-platform capabilities. Read more