pub trait ChildKiller: Debug {
    fn kill(&mut self) -> IoResult<()>;
    fn clone_killer(&self) -> Box<dyn ChildKiller + Send + Sync>;
}
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