pub enum GuiProcessEvent {
CreateOrAlive(Pid),
Alive(Pid),
}Expand description
Event types for GUI process monitoring.
These events are triggered by shell hook messages that indicate GUI process activity.
- For a process started after the watcher,
CreateOrAlivemust occur beforeAlivewith the same PID.
Variants§
CreateOrAlive(Pid)
A new GUI process has been created, or an existing process is detected.
Alive(Pid)
An existing GUI process is detected.
Implementations§
Trait Implementations§
Source§impl Clone for GuiProcessEvent
impl Clone for GuiProcessEvent
Source§fn clone(&self) -> GuiProcessEvent
fn clone(&self) -> GuiProcessEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuiProcessEvent
impl Debug for GuiProcessEvent
impl Copy for GuiProcessEvent
Auto Trait Implementations§
impl Freeze for GuiProcessEvent
impl RefUnwindSafe for GuiProcessEvent
impl Send for GuiProcessEvent
impl Sync for GuiProcessEvent
impl Unpin for GuiProcessEvent
impl UnsafeUnpin for GuiProcessEvent
impl UnwindSafe for GuiProcessEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more