pub trait Control: Sized {
// Required methods
fn command(&self) -> &Command;
fn id(&self) -> u32;
fn kill(&mut self) -> Result<()>;
}Expand description
Process control trait, access Program ID, the command line or kill the
running process
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.