Trait wait4::Wait4[][src]

pub trait Wait4 {
    fn wait4(&mut self) -> Result<ResUse>;
}
Expand description

Add wait for a process and return the resources it used.

Required methods

As for wait, it waits for the child to exit completely, returning the status that it exited with and an estimate of the time and memory resources it used.

The stdin handle to the child process, if any, will be closed before waiting, refer to wait for the rationale for it.

Implementations on Foreign Types

Implementors