pub struct ServerTiming {
pub receive_wall_ns: Option<i64>,
pub receive_mono_ns: Option<i64>,
pub send_wall_ns: Option<i64>,
pub send_mono_ns: Option<i64>,
pub midpoint_wall_ns: Option<i64>,
pub midpoint_mono_ns: Option<i64>,
pub processing: Option<Duration>,
}Expand description
Server-reported timing fields decoded from an echo reply.
These values are optional because the negotiated timestamp mode, clock mode,
server implementation, or packet contents may omit individual fields.
Timestamp values are nanoseconds in the server’s reported wall-clock or
monotonic clock domain. None means unavailable; Some(0) means the server
reported a zero timestamp.
Fields§
§receive_wall_ns: Option<i64>Server wall-clock receive timestamp, in nanoseconds.
receive_mono_ns: Option<i64>Server monotonic receive timestamp, in nanoseconds.
send_wall_ns: Option<i64>Server wall-clock send timestamp, in nanoseconds.
send_mono_ns: Option<i64>Server monotonic send timestamp, in nanoseconds.
midpoint_wall_ns: Option<i64>Server wall-clock midpoint timestamp, in nanoseconds.
midpoint_mono_ns: Option<i64>Server monotonic midpoint timestamp, in nanoseconds.
processing: Option<Duration>Server processing time computed from monotonic receive/send timestamps.
None means the required monotonic timestamps were unavailable or
unusable. Some(Duration::ZERO) means the computed processing interval
was available and zero.
Trait Implementations§
Source§impl Clone for ServerTiming
impl Clone for ServerTiming
Source§fn clone(&self) -> ServerTiming
fn clone(&self) -> ServerTiming
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ServerTiming
Source§impl Debug for ServerTiming
impl Debug for ServerTiming
impl Eq for ServerTiming
Source§impl PartialEq for ServerTiming
impl PartialEq for ServerTiming
Source§fn eq(&self, other: &ServerTiming) -> bool
fn eq(&self, other: &ServerTiming) -> bool
self and other values to be equal, and is used by ==.