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