pub fn defer(f: impl FnOnce()) -> impl Drop
Defers the execution of f until the return value is dropped.
f