Trait process_memory::ProcessHandleExt
source · [−]pub trait ProcessHandleExt {
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