From 46dacc02653c4f8d67075e946f2bd5d100183f9e Mon Sep 17 00:00:00 2001 From: Imbris Date: Sat, 22 Aug 2020 23:56:13 -0400 Subject: [PATCH] Reexport ReadUnordered --- quinn/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quinn/src/lib.rs b/quinn/src/lib.rs index 328b9a7d8..8570039d0 100644 --- a/quinn/src/lib.rs +++ b/quinn/src/lib.rs @@ -75,7 +75,7 @@ pub mod generic { OpenBi, OpenUni, }; pub use crate::endpoint::{Endpoint, Incoming}; - pub use crate::streams::{Read, ReadExact, ReadToEnd, RecvStream, SendStream}; + pub use crate::streams::{Read, ReadExact, ReadToEnd, ReadUnordered, RecvStream, SendStream}; pub use proto::generic::{ClientConfig, ServerConfig}; } @@ -124,6 +124,8 @@ mod rustls_impls { pub type ReadExact<'a> = generic::ReadExact<'a, TlsSession>; /// A `ReadToEnd` using rustls for the cryptography protocol pub type ReadToEnd = generic::ReadToEnd; + /// A `ReadUnordered` using rustls for the cryptography protocol + pub type ReadUnordered<'a> = generic::ReadUnordered<'a, TlsSession>; /// A `RecvStream` using rustls for the cryptography protocol pub type RecvStream = generic::RecvStream; /// A `SendStream` using rustls for the cryptography protocol