Crate scopeguard [] [src]

Macros

defer!

Macro to create a Guard (without any owned value).

Structs

Guard

Guard is a scope guard that may own a protected value.

Functions

guard

Create a new Guard owning v and with deferred closure dropfn.