pub struct SessionStatistics {
pub total_sessions_created: u64,
pub active_sessions: u32,
pub pending_sessions: u32,
pub sessions_terminated_normally: u64,
pub sessions_timed_out: u64,
pub sessions_terminated_with_errors: u64,
pub avg_session_duration: f64,
pub total_bytes_forwarded: u64,
}
Expand description
Session management statistics
Fields§
§total_sessions_created: u64
Total sessions created since startup
active_sessions: u32
Currently active sessions
pending_sessions: u32
Sessions currently in pending state
sessions_terminated_normally: u64
Sessions terminated normally
sessions_timed_out: u64
Sessions terminated due to timeout
sessions_terminated_with_errors: u64
Sessions terminated due to errors
avg_session_duration: f64
Average session duration (in seconds)
total_bytes_forwarded: u64
Total data forwarded across all sessions (bytes)
Trait Implementations§
Source§impl Clone for SessionStatistics
impl Clone for SessionStatistics
Source§fn clone(&self) -> SessionStatistics
fn clone(&self) -> SessionStatistics
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 SessionStatistics
impl Debug for SessionStatistics
Source§impl Default for SessionStatistics
impl Default for SessionStatistics
Source§fn default() -> SessionStatistics
fn default() -> SessionStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SessionStatistics
impl RefUnwindSafe for SessionStatistics
impl Send for SessionStatistics
impl Sync for SessionStatistics
impl Unpin for SessionStatistics
impl UnwindSafe for SessionStatistics
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