Crate scopeguard [] [src]

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.