pub struct QuicStats {
pub connections_established: u64,
pub connections_closed: u64,
pub connections_failed: u64,
pub active_connections: u64,
pub total_bytes_sent: u64,
pub total_bytes_received: u64,
pub total_packets_lost: u64,
pub total_migrations: u64,
pub zero_rtt_connections: u64,
pub avg_rtt_ms: f64,
}Expand description
QUIC statistics
Fields§
§connections_established: u64Total connections established
connections_closed: u64Total connections closed
connections_failed: u64Total connections failed
active_connections: u64Currently active connections
total_bytes_sent: u64Total bytes sent across all connections
total_bytes_received: u64Total bytes received across all connections
total_packets_lost: u64Total packets lost
total_migrations: u64Total connection migrations
zero_rtt_connections: u64Total 0-RTT connections
avg_rtt_ms: f64Average RTT (milliseconds)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QuicStats
impl<'de> Deserialize<'de> for QuicStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QuicStats
impl RefUnwindSafe for QuicStats
impl Send for QuicStats
impl Sync for QuicStats
impl Unpin for QuicStats
impl UnwindSafe for QuicStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more