pub struct Snapshot {
pub events: EventCounts,
pub packets: PacketCounts,
pub loss: LossStats,
pub send_call: TimeStats,
pub timer_error: TimeStats,
pub rtt: RttStats,
pub ipdv: IpdvStats,
pub one_way_delay: OneWayDelayStats,
pub server_processing: ServerProcessingStats,
}Expand description
Point-in-time statistics summary.
Fields§
§events: EventCountsEvent counters grouped by event class.
packets: PacketCountsPacket and byte counters.
loss: LossStatsPacket loss, duplicate, and late-packet percentages.
send_call: TimeStatsDuration of send calls, in nanoseconds.
timer_error: TimeStatsSender scheduling error, in nanoseconds.
rtt: RttStatsRound-trip timing statistics.
ipdv: IpdvStatsInter-packet delay variation statistics.
one_way_delay: OneWayDelayStatsOne-way delay statistics.
server_processing: ServerProcessingStatsServer processing time statistics.
Trait Implementations§
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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