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,
}๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Fieldsยง
ยงcache_hits: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.cache_misses: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.cache_evictions: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.eviction_time_ms: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.sent_packets: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.total_batches: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.batch_success: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.batch_failure: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.get_connection_ms: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.get_connection_lock_ms: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.get_connection_hit_ms: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.get_connection_miss_ms: AtomicU64๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
ยงagave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.total_client_stats: ClientStats๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.Implementationsยง
Sourceยงimpl ConnectionCacheStats
impl ConnectionCacheStats
pub fn add_client_stats( &self, client_stats: &ClientStats, num_packets: usize, is_success: bool, )
๐Deprecated since 3.1.0: This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the
agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.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 !Freeze for ConnectionCacheStats
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