Skip to main content

child_pid

Function child_pid 

Source
pub(crate) fn child_pid(id: impl Into<Option<u32>>) -> Result<Pid>
Expand description

The PID of a spawned child by the ID which the standard library reports, or tokio, which has none anymore once the child got reaped.