pub trait Reuse {
// Required method
fn reuse(&mut self, trim: usize) -> bool;
}
Expand description
A trait that prepares an item to be returned to the pool. For example
clearing it. true
is returned if the item should be returned to the pool,
false
if it should be dropped.