Skip to main content

standing_from

Function standing_from 

Source
fn standing_from(
    found: Listeners,
    agent_holding: impl Fn(u32) -> Option<String>,
    agent_pids: impl FnOnce() -> Vec<u32>,
    descriptors: impl Fn(u32) -> Descriptors,
) -> Standing
Expand description

The standing of what was found listening. agent_holding(pid) names the agent whose process tree holds pid; agent_pids lists every process in every agent’s tree; descriptors(pid) says whether a process’s descriptors can be read.