Module group

Source

Structs§

ChildInfoMeta
Having a struct with (one) named field (for example, its), instead of a (one field) tuple struct, could make some code “nicer”.

Functions§

collect_finished_child
Return Some if any child has finished; return None when all children have finished. This does NOT modify [SpawningMode] part of the result [GroupExecutionAndOptOutput].
life_cycle_loop
life_cycle_step
start_parallel_tasks
Start a group of parallel child process(es) - tasks, all under the same parent_dir.

Type Aliases§

ChildInfo
ChildProcess
For disambiguation.
ChildProcessId
Result of Child’s id() method, wrapped.
Features
GroupOfChildren
Implementing Deref and DerefMut doesn’t improve ergonomics for accessing the tuple’s field by numeric index. For that we have to put the dereferencing asterisk and the struct instance into parenthesis, e.g.
ParallelTasks