pub trait Cleanup: Send + Sync { // Required method fn cleanup(&self); }
Cleanup defines an implementation where expired elements can be removed.
Cleanup removes all elements which have been expired.