[−][src]Macro scopeguard::defer_on_unwind
Macro to create a ScopeGuard
(run on unwinding from panic).
The macro takes one expression $e
, which is the body of a closure
that will run when the scope is exited. The expression can
be a whole block.
Requires crate feature use_std
.