pub fn enter(id: usize) -> GuardExpand description
Marks id as the operator this thread is scheduling until the returned guard drops.
Guards nest: dropping one restores the operator that was current when it was created. Guards must drop in reverse creation order, which holding them in scoped bindings ensures.