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