pub struct SessionStats {
pub active_sessions: usize,
pub total_memory_usage: usize,
pub operations_since_cleanup: usize,
pub arena_resets: usize,
}Available on crate feature
std only.Expand description
Statistics about session manager
Fields§
§active_sessions: usizeNumber of active sessions
total_memory_usage: usizeTotal memory usage across all sessions
operations_since_cleanup: usizeNumber of operations since last cleanup
arena_resets: usizeNumber of arena resets performed
Trait Implementations§
Source§impl Clone for SessionStats
impl Clone for SessionStats
Source§fn clone(&self) -> SessionStats
fn clone(&self) -> SessionStats
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 SessionStats
impl Debug for SessionStats
Source§impl PartialEq for SessionStats
impl PartialEq for SessionStats
impl Eq for SessionStats
impl StructuralPartialEq for SessionStats
Auto Trait Implementations§
impl Freeze for SessionStats
impl RefUnwindSafe for SessionStats
impl Send for SessionStats
impl Sync for SessionStats
impl Unpin for SessionStats
impl UnwindSafe for SessionStats
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