Function glib::child_watch_future [−][src]
ⓘImportant traits for Box<R>
pub fn child_watch_future(
pid: Pid
) -> Box<Future<Item = (Pid, i32), Error = Never> + Send>
Create a Future
that will resolve once the child process with the given pid exits
The Future
will resolve to the pid of the child process and the exit code.
The Future
must be spawned on an Executor
backed by a glib::MainContext
.