pub trait ChildKiller: Debug {
    fn kill(&mut self) -> Result<(), Error>;
fn clone_killer(
        &self
    ) -> Box<dyn ChildKiller + Send + Sync + 'static, Global>; }
Expand description

Represents the ability to signal a Child to terminate

Required methods

Terminate the child process

Clone an object that can be split out from the Child in order to send it signals independently from a thread that may be blocked in .wait.

Implementations on Foreign Types

Implementors