[][src]Trait process_memory::HandleChecker

pub trait HandleChecker {
    fn check_handle(&self) -> bool;
#[must_use] fn null_type() -> ProcessHandle; }

A trait to check that a ProcessHandle it valid on various platforms.

Required methods

fn check_handle(&self) -> bool

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

#[must_use] fn null_type() -> ProcessHandle

Return the null equivalent of a ProcessHandle.

Loading content...

Implementors

impl HandleChecker for ProcessHandle[src]

Loading content...