useheim_common::prelude::*;usecrate::{sys, Pid};/// Returns stream which yields [Pid].
////// Consequent calls are not guaranteed to return pids in the same order.
////// [Pid]: type.Pid.html
pubfnpids()-> impl Stream<Item=Pid, Error=Error>{sys::pids()}/// Returns future which checks is process with passed `pid` is exists.
pubfnpid_exists(pid: Pid)-> impl Future<Item=bool, Error=Error>{sys::pid_exists(pid)}