Skip to main content

with_ref

Function with_ref 

Source
pub fn with_ref<R>(f: impl FnOnce(&ProcessState) -> R) -> R
Expand description

Shared access to the active process state (concurrent FD lookups, etc.).