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