Skip to main content

ProcessKiller

Trait ProcessKiller 

Source
pub trait ProcessKiller: Send + Sync {
    // Required method
    fn kill(&self);
}
Expand description

Kill side of a ProcessHandle. Cloneable via Arc so cancellation works after the waiter thread has taken ownership of the handle itself.

Required Methods§

Source

fn kill(&self)

Send SIGKILL to the process (and its process group, when applicable).

Implementors§