heim_process

Function pids

Source
pub fn pids() -> impl Stream<Item = Result<Pid, ProcessError>>
Expand description

Returns stream which yields Pids of processes currently running in the system.

Consequent calls are not guaranteed to return pids in the same order.