pub struct WsStats {
pub messages_received: AtomicU64,
pub messages_dropped: AtomicU64,
pub last_message_time: AtomicU64,
pub connection_start_time: AtomicU64,
pub reconnect_count: AtomicU32,
}Expand description
Internal statistics tracking for WebSocket connections.
Fields§
§messages_received: AtomicU64Total messages received
messages_dropped: AtomicU64Total messages dropped
last_message_time: AtomicU64Last message timestamp
connection_start_time: AtomicU64Connection start time
reconnect_count: AtomicU32Reconnect count
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for WsStats
impl RefUnwindSafe for WsStats
impl Send for WsStats
impl Sync for WsStats
impl Unpin for WsStats
impl UnsafeUnpin for WsStats
impl UnwindSafe for WsStats
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