Returns the number of fresh objects allocated through the pool.
(&self)
| 109 | |
| 110 | /// Returns the number of fresh objects allocated through the pool. |
| 111 | pub fn new_allocated_count(&self) -> usize { |
| 112 | self.inner.new_allocated_count.load(Ordering::Relaxed) |
| 113 | } |
| 114 | |
| 115 | /// Returns the number of objects reused from the pool. |
| 116 | pub fn reused_count(&self) -> usize { |
no test coverage detected