pub fn at_exit(func: Box<dyn FnOnce() + Send>)
alloc
Register a function to be called when exit is called.
exit
This arranges for func to be called, and passed obj, when the program exits.
func
obj