Crate shutdown_hooks [−] [src]
Provides access to shutdown hooks
Currently, only adding new hooks is supported.
An unspecified future release will have a collection of hooks and have the ability to remove them
Functions
add_shutdown_hook |
Adds a callback function to be called on exit |