From 411abe9e1c85d41760463a87f8c1896a20605386 Mon Sep 17 00:00:00 2001 From: TirushOne <136785319+TirushOne@users.noreply.github.com> Date: Thu, 18 Jul 2024 01:03:07 +1000 Subject: [PATCH] Fix lack of reexport of ConnectionStats and ResetError (#1920) --- quinn/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quinn/src/lib.rs b/quinn/src/lib.rs index 5e0ec394b..ac93c1cbb 100644 --- a/quinn/src/lib.rs +++ b/quinn/src/lib.rs @@ -63,8 +63,8 @@ mod work_limiter; pub use proto::{ congestion, crypto, AckFrequencyConfig, ApplicationClose, Chunk, ClientConfig, ClosedStream, - ConfigError, ConnectError, ConnectionClose, ConnectionError, EndpointConfig, IdleTimeout, - MtuDiscoveryConfig, ServerConfig, StreamId, Transmit, TransportConfig, VarInt, + ConfigError, ConnectError, ConnectionClose, ConnectionError, ConnectionStats, EndpointConfig, + IdleTimeout, MtuDiscoveryConfig, ServerConfig, StreamId, Transmit, TransportConfig, VarInt, }; #[cfg(feature = "rustls")] pub use rustls; @@ -76,7 +76,7 @@ pub use crate::connection::{ }; pub use crate::endpoint::{Accept, Endpoint}; pub use crate::incoming::{Incoming, IncomingFuture, RetryError}; -pub use crate::recv_stream::{ReadError, ReadExactError, ReadToEndError, RecvStream}; +pub use crate::recv_stream::{ReadError, ReadExactError, ReadToEndError, RecvStream, ResetError}; #[cfg(feature = "runtime-async-std")] pub use crate::runtime::AsyncStdRuntime; #[cfg(feature = "runtime-smol")]