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§
Sourcefn check_handle(&self) -> bool
fn check_handle(&self) -> bool
Returns true
if the ProcessHandle
is not null, and false
otherwise.
Sourcefn null_type() -> ProcessHandle
fn null_type() -> ProcessHandle
Return the null equivalent of a ProcessHandle
.
Sourcefn set_arch(self, arch: Architecture) -> Self
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", so this trait is not object safe.