try_collect

Function try_collect 

Source
pub fn try_collect() -> Result<(), WouldDeadlock>
Expand description

Invokes the garbage collector.

ยงErrors

If any CollectionGuards are held by this thread when this function is invoked, WouldDeadlock is returned.