Trait mprocs_pty::ChildKiller
source · [−]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
fn clone_killer(&self) -> Box<dyn ChildKiller + Send + Sync>
fn clone_killer(&self) -> Box<dyn ChildKiller + Send + Sync>
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
.