pub struct PoolStats {
pub total_gets: Atomic<usize>,
pub total_returns: Atomic<usize>,
pub cache_hits: Atomic<usize>,
pub cache_misses: Atomic<usize>,
pub active_buffers: Atomic<usize>,
pub pool_size: Atomic<usize>,
}Expand description
プール統計情報
Fields§
§total_gets: Atomic<usize>総取得回数
total_returns: Atomic<usize>総返却回数
cache_hits: Atomic<usize>キャッシュヒット数
cache_misses: Atomic<usize>キャッシュミス数
active_buffers: Atomic<usize>現在利用中バッファ数
pool_size: Atomic<usize>プールサイズ
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