pub struct ClientReport {
pub good: u32,
pub late: u32,
pub lost: u32,
pub resync: u32,
pub udp_packets: u32,
pub tcp_packets: u32,
pub udp_ping_avg: f32,
pub udp_ping_var: f32,
pub tcp_ping_avg: f32,
pub tcp_ping_var: f32,
}Expand description
What a client last told us about the connection, in its own Ping.
Every field is the client’s claim, not a measurement of ours: the reference
server stores them verbatim and hands them back in UserStats, which is what
fills the “To Client” column and the ping statistics of the information
window. Client-supplied numbers are only ever shown back to the client that
supplied them, so a client that lies here lies to itself alone.
REF: references/mumble/src/murmur/Messages.cpp : msgPing assigns
uiRemoteGood/Late/Lost/Resync, dUDPPingAvg/Var, uiUDPPackets,
dTCPPingAvg/Var and uiTCPPackets straight from the message.
Fields§
§good: u32§late: u32§lost: u32§resync: u32§udp_packets: u32§tcp_packets: u32§udp_ping_avg: f32§udp_ping_var: f32§tcp_ping_avg: f32§tcp_ping_var: f32Trait Implementations§
Source§impl Clone for ClientReport
impl Clone for ClientReport
Source§fn clone(&self) -> ClientReport
fn clone(&self) -> ClientReport
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 ClientReport
impl Debug for ClientReport
Source§impl Default for ClientReport
impl Default for ClientReport
Source§fn default() -> ClientReport
fn default() -> ClientReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for ClientReport
impl PartialEq for ClientReport
impl Copy for ClientReport
impl StructuralPartialEq for ClientReport
Auto Trait Implementations§
impl Freeze for ClientReport
impl RefUnwindSafe for ClientReport
impl Send for ClientReport
impl Sync for ClientReport
impl Unpin for ClientReport
impl UnwindSafe for ClientReport
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