pub struct SessionManagerStats {
pub total_sessions: usize,
pub active_sessions: usize,
pub pending_sessions: usize,
pub total_connections: usize,
pub total_bytes_sent: u64,
pub total_bytes_received: u64,
}
Expand description
Session manager statistics
Fields§
§total_sessions: usize
Total number of sessions tracked
active_sessions: usize
Number of active sessions
pending_sessions: usize
Number of pending sessions
total_connections: usize
Number of active relay connections
total_bytes_sent: u64
Total bytes sent across all sessions
total_bytes_received: u64
Total bytes received across all sessions
Trait Implementations§
Source§impl Clone for SessionManagerStats
impl Clone for SessionManagerStats
Source§fn clone(&self) -> SessionManagerStats
fn clone(&self) -> SessionManagerStats
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 SessionManagerStats
impl RefUnwindSafe for SessionManagerStats
impl Send for SessionManagerStats
impl Sync for SessionManagerStats
impl Unpin for SessionManagerStats
impl UnwindSafe for SessionManagerStats
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