Implementing this trait allows full low level control over where
the pool pointer is stored. For example if you are pooling an
allocated data structure, you could store the pool pointer in the
allocation to keep the size of the handle struct to a
minimum. E.G. you’re pooling a ThinArc. Or, if you have a static
global pool, then you would not need to keep a pool pointer at
all.
Take a poolable type T from the generic thread local pool set. It
is much more efficient to construct your own pools. size and max
are the pool parameters used if the pool doesn’t already exist.