pub trait ProcessHandleExt {
    // Required methods
    fn check_handle(&self) -> bool;
    fn null_type() -> (i32, Architecture);
    fn set_arch(self, arch: Architecture) -> Self;
}
Expand description

Additional functions on process handles

Required Methods§

fn check_handle(&self) -> bool

Returns true if the ProcessHandle is not null, and false otherwise.

fn null_type() -> (i32, Architecture)

Return the null equivalent of a ProcessHandle.

fn set_arch(self, arch: Architecture) -> Self

Set this handle to use some architecture

Implementations on Foreign Types§

§

impl ProcessHandleExt for (i32, Architecture)

Implementors§