pub fn collect_failure(&mut self, result: TaskResult) {
        match self.on_exit.take() {
            Some(f) => f(result),
            None => {}
        }
    }
/// Collect failure exit codes from children and propagate them to a parent.
Collect failure exit codes from children and propagate them to a parent.
Collect failure exit codes from children and propagate them to a parent .
pub fn collect_failure(&mut self, result: TaskResult) {
        match self.on_exit.take() {
            Some(f) => f(result),
            None => {}
        }
    }
pub fn collect_failure ( & mut self , result : TaskResult ) { match self . on_exit . take ( ) { Some ( f ) => f ( result ) , None => { } } }
Collect failure exit codes from children and propagate them to a parent.
Collect failure exit codes from children and propagate them to a parent .
&mut self
result
TaskResult
&mut self
result
TaskResult