pub struct QuicConnectionStats {
pub stats: Stats,
pub path_stats: Option<PathStats>,
}
Expand description
Wrapper for connection statistics recorded by [quiche].
Fields§
§stats: Stats
Aggregate connection statistics across all paths.
path_stats: Option<PathStats>
Specific statistics about the connection’s active path.
Trait Implementations§
Source§impl AsSocketStats for QuicConnectionStats
impl AsSocketStats for QuicConnectionStats
fn as_socket_stats(&self) -> SocketStats
fn as_quic_stats(&self) -> Option<&Arc<QuicAuditStats>>
Auto Trait Implementations§
impl Freeze for QuicConnectionStats
impl RefUnwindSafe for QuicConnectionStats
impl Send for QuicConnectionStats
impl Sync for QuicConnectionStats
impl Unpin for QuicConnectionStats
impl UnwindSafe for QuicConnectionStats
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
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