pub fn collect()Expand description
Invokes the garbage collector.
ยงPanics
This function will panic if any CollectionGuards are held and not
yielding by the current thread when invoked. If a guard is held, consider
calling CollectionGuard::collect() instead.