[][src]Trait duct::unix::HandleExt

pub trait HandleExt {
    fn send_signal(&self, signal: c_int) -> Result<()>;
}

Required methods

fn send_signal(&self, signal: c_int) -> Result<()>

Send a signal to all child processes running under this expression.

Caveat

In the case of a then expression where the left expression is unchecked and dies from the signal, then the right expression will start anyway. If the intention is to stop the entire expression then the kill method should be used instead.

Loading content...

Implementors

impl HandleExt for Handle[src]

Loading content...