pub trait GetContext {
    type Context;

    fn get_context_from_name(&self, process_name: &str) -> Option<Self::Context>;
    fn get_context_from_pid(&self, pid: u32) -> Option<Self::Context>;
    fn get_current_context(&self) -> Self::Context;
}
Expand description

Gets the Pid type from a process name, a windows PID, or the current PID

Required Associated Types

Required Methods

Implementors