pub struct SessionCacheStats {
pub total_entries: usize,
pub max_entries: usize,
pub expired_count: usize,
pub total_inserts: u64,
}Expand description
Statistics about the session cache
Fields§
§total_entries: usizeCurrent number of valid sessions
max_entries: usizeMaximum capacity
expired_count: usizeNumber of expired but not yet evicted entries
total_inserts: u64Total sessions ever inserted
Trait Implementations§
Source§impl Clone for SessionCacheStats
impl Clone for SessionCacheStats
Source§fn clone(&self) -> SessionCacheStats
fn clone(&self) -> SessionCacheStats
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 moreSource§impl Debug for SessionCacheStats
impl Debug for SessionCacheStats
impl Copy for SessionCacheStats
Auto Trait Implementations§
impl Freeze for SessionCacheStats
impl RefUnwindSafe for SessionCacheStats
impl Send for SessionCacheStats
impl Sync for SessionCacheStats
impl Unpin for SessionCacheStats
impl UnwindSafe for SessionCacheStats
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