pub fn with_ref<R>(f: impl FnOnce(&ProcessState) -> R) -> RExpand description
Shared access to the active process state (concurrent FD lookups, etc.).
pub fn with_ref<R>(f: impl FnOnce(&ProcessState) -> R) -> RShared access to the active process state (concurrent FD lookups, etc.).