Module metrics_generic::metrics_cleanup
source · Expand description
Provides an tool for metrics client cleanup which may hold global state.
Structs§
- Ensures any cleanup necessary is performed on drop. Can be used to ensure cleanup is done regardless of how the caller exits. Should be idempotent.