Macro scopeguard::defer_on_success [−][src]
Macro to create a ScopeGuard
(run on successful scope exit).
The macro takes statements, which are the body of a closure that will run when the scope is exited.
Requires crate feature use_std
.