pub fn scoped<R>(services: &ProcessServices, f: impl FnOnce() -> R) -> RExpand description
Run f with services as current on this thread.
Nests: the innermost scope wins, and the previous one is restored when f
returns or unwinds.
pub fn scoped<R>(services: &ProcessServices, f: impl FnOnce() -> R) -> RRun f with services as current on this thread.
Nests: the innermost scope wins, and the previous one is restored when f
returns or unwinds.