pub struct SessionCleanupStats {
pub sessions_cleaned: u64,
pub memory_freed: u64,
pub active_sessions: usize,
pub avg_session_lifetime: Duration,
}Expand description
Statistics for session cleanup
Fields§
§sessions_cleaned: u64Total sessions cleaned up
memory_freed: u64Memory freed (bytes)
active_sessions: usizeCurrent active sessions
avg_session_lifetime: DurationAverage session lifetime
Trait Implementations§
Source§impl Clone for SessionCleanupStats
impl Clone for SessionCleanupStats
Source§fn clone(&self) -> SessionCleanupStats
fn clone(&self) -> SessionCleanupStats
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 SessionCleanupStats
impl Debug for SessionCleanupStats
Source§impl Default for SessionCleanupStats
impl Default for SessionCleanupStats
Source§fn default() -> SessionCleanupStats
fn default() -> SessionCleanupStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionCleanupStats
impl RefUnwindSafe for SessionCleanupStats
impl Send for SessionCleanupStats
impl Sync for SessionCleanupStats
impl Unpin for SessionCleanupStats
impl UnwindSafe for SessionCleanupStats
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