pub fn enter(ctx: PathCtx) -> Guard
Install ctx as the ambient context for the duration of the returned guard; the previous context is restored on drop (panic-safe, so a failing test can’t leak into the next).
ctx