pub struct PoolStats {
pub total_gets: AtomicUsize,
pub total_returns: AtomicUsize,
pub cache_hits: AtomicUsize,
pub cache_misses: AtomicUsize,
pub active_buffers: AtomicUsize,
pub pool_size: AtomicUsize,
}Expand description
プール統計情報
Fields§
§total_gets: AtomicUsize総取得回数
total_returns: AtomicUsize総返却回数
cache_hits: AtomicUsizeキャッシュヒット数
cache_misses: AtomicUsizeキャッシュミス数
active_buffers: AtomicUsize現在利用中バッファ数
pool_size: AtomicUsizeプールサイズ
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PoolStats
impl RefUnwindSafe for PoolStats
impl Send for PoolStats
impl Sync for PoolStats
impl Unpin for PoolStats
impl UnsafeUnpin for PoolStats
impl UnwindSafe for PoolStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more