pub trait ProcessInfoPid: GetContext {
// Required methods
fn process_name(&self, pid: &Self::Context) -> String;
fn peb_base_address(&self, pid: &Self::Context) -> u64;
fn pid(&self, pid: &Self::Context) -> u32;
}Expand description
A trait that mirrors the ProcessInfo trait by gets information from a PID instead of directly from the implementor. Note that the Pid type is not necessarily a Windows process ID. One may implement this using another form of identifier such as a dirbase.