pub struct RoomStats {
pub messages_in: u64,
pub messages_out: u64,
pub bytes_in: u64,
pub bytes_out: u64,
pub drops: u64,
}Expand description
Traffic counters for a single room.
Fields§
§messages_in: u64Messages recorded as received in this room (integrator read loop).
messages_out: u64Messages fanned out to this room’s receivers.
bytes_in: u64Payload bytes received for this room.
bytes_out: u64Payload bytes written to this room’s receivers.
drops: u64Broadcast attempts that found no live receiver (data lost).
Trait Implementations§
impl Eq for RoomStats
impl StructuralPartialEq for RoomStats
Auto Trait Implementations§
impl Freeze for RoomStats
impl RefUnwindSafe for RoomStats
impl Send for RoomStats
impl Sync for RoomStats
impl Unpin for RoomStats
impl UnsafeUnpin for RoomStats
impl UnwindSafe for RoomStats
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