pub struct TlsClientCacheStats {
pub total_entries: usize,
pub active_entries: usize,
pub expired_entries: usize,
pub max_cache_size: usize,
pub cache_ttl: Duration,
}Expand description
Cache statistics for TLS clients
Fields§
§total_entries: usize§active_entries: usize§expired_entries: usize§max_cache_size: usize§cache_ttl: DurationImplementations§
Source§impl TlsClientCacheStats
impl TlsClientCacheStats
pub fn usage_percentage(&self) -> f64
Trait Implementations§
Source§impl Clone for TlsClientCacheStats
impl Clone for TlsClientCacheStats
Source§fn clone(&self) -> TlsClientCacheStats
fn clone(&self) -> TlsClientCacheStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TlsClientCacheStats
impl RefUnwindSafe for TlsClientCacheStats
impl Send for TlsClientCacheStats
impl Sync for TlsClientCacheStats
impl Unpin for TlsClientCacheStats
impl UnwindSafe for TlsClientCacheStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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