Trait read_process_memory::TryIntoProcessHandle [] [src]

pub trait TryIntoProcessHandle {
    fn try_into_process_handle(&self) -> Result<ProcessHandle>;
}

Attempt to get a process handle for a running process.

This operation is not guaranteed to succeed. Specifically, on Windows OpenProcess may fail, and on OS X task_for_pid will generally fail unless run as root, and even then it may fail when called on certain programs.

This should be dropped in favor of TryInto when that stabilizes: https://github.com/rust-lang/rust/issues/33417

Required Methods

Attempt to get a ProcessHandle from self.

Implementations on Foreign Types

impl TryIntoProcessHandle for Child
[src]

A process::Child always has a pid, which is all we need on Linux.

Implementors