pub trait ProcessKiller: Send + Sync {
// Required method
fn kill(&self) -> ProcessCleanupReport;
}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§
Sourcefn kill(&self) -> ProcessCleanupReport
fn kill(&self) -> ProcessCleanupReport
Send SIGKILL to the process tree/group when applicable.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".