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§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".