pub struct ConnectionCacheStats {Show 13 fields
pub cache_hits: AtomicU64,
pub cache_misses: AtomicU64,
pub cache_evictions: AtomicU64,
pub eviction_time_ms: AtomicU64,
pub sent_packets: AtomicU64,
pub total_batches: AtomicU64,
pub batch_success: AtomicU64,
pub batch_failure: AtomicU64,
pub get_connection_ms: AtomicU64,
pub get_connection_lock_ms: AtomicU64,
pub get_connection_hit_ms: AtomicU64,
pub get_connection_miss_ms: AtomicU64,
pub total_client_stats: ClientStats,
}
Fields§
§cache_hits: AtomicU64
§cache_misses: AtomicU64
§cache_evictions: AtomicU64
§eviction_time_ms: AtomicU64
§sent_packets: AtomicU64
§total_batches: AtomicU64
§batch_success: AtomicU64
§batch_failure: AtomicU64
§get_connection_ms: AtomicU64
§get_connection_lock_ms: AtomicU64
§get_connection_hit_ms: AtomicU64
§get_connection_miss_ms: AtomicU64
§total_client_stats: ClientStats
Implementations§
source§impl ConnectionCacheStats
impl ConnectionCacheStats
pub fn add_client_stats( &self, client_stats: &ClientStats, num_packets: usize, is_success: bool )
Trait Implementations§
source§impl Default for ConnectionCacheStats
impl Default for ConnectionCacheStats
source§fn default() -> ConnectionCacheStats
fn default() -> ConnectionCacheStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionCacheStats
impl Send for ConnectionCacheStats
impl Sync for ConnectionCacheStats
impl Unpin for ConnectionCacheStats
impl UnwindSafe for ConnectionCacheStats
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