pub trait HeapPool<C> {
// Required methods
fn check_out(&mut self) -> C;
fn check_in(&mut self, container: C);
}
Expand description
Holds a list of allocated objects in a scalable pool. Previously allocated objects can be checked back in after use, to prevent immediate deallocation.