Verified record · from the answer index
scopeguard
librarytested · static-verifiedscore 40/100signed passport ✓published 1198d ago · verified 2026-10-2476,731,445 monthly downloads
A RAII scope guard that will run a given closure when it goes out of scope, even if the code between panics (assuming unwinding panic). Defines the macros `defer!`, `defer_on_unwind!`, `defer_on_success!` as shorthands for guards with one o
lib:crates:scopeguard · published by bluss · source repository