rust-scopeguard 0.3.3 Scope guard which will run a closure even out of scope
This package provides 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 of the implemented strategies.
- Website: https://github.com/bluss/scopeguard
- License: ASL 2.0, Expat
- Package source: crates-io.scm
- Patches: None
- Builds: x86_64-linux, i686-linux