Skip to main content

for_each_process

Function for_each_process 

Source
fn for_each_process<F: FnMut(Pid, String)>(f: F) -> Result<()>
Expand description

Calls f with the PID and the comm value of every running process.