pub const fn defer<F: FnOnce()>(f: F) -> DropGuard<(), impl FnOnce(())>
Returns a structure that calls f when dropped.
f