pub fn scope(label: Label, root: Option<&Path>) -> ScopeGuardExpand description
Attributes this thread’s allocations to label until the guard drops.
With a root, events name that repository; without one the current
root, if any, stays.
pub fn scope(label: Label, root: Option<&Path>) -> ScopeGuardAttributes this thread’s allocations to label until the guard drops.
With a root, events name that repository; without one the current
root, if any, stays.