Skip to main content

ProcessHandleExt

Trait ProcessHandleExt 

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

Additional functions on process handles

Required Methods§

Source

fn check_handle(&self) -> bool

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

Source

fn null_type() -> ProcessHandle

Return the null equivalent of a ProcessHandle.

Source

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

Set this handle to use some architecture

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§