Skip to main content

reifydb_core/value/column/pool/
stats.rs

1// SPDX-License-Identifier: AGPL-3.0-or-later
2// Copyright (c) 2025 ReifyDB
3
4/// Statistics about pool usage
5#[derive(Debug, Clone)]
6pub struct PoolStats {
7	pub available: usize,
8	pub total_acquired: usize,
9	pub total_released: usize,
10}
11
12impl Default for PoolStats {
13	fn default() -> Self {
14		Self {
15			available: 0,
16			total_acquired: 0,
17			total_released: 0,
18		}
19	}
20}