mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-12 06:20:48 +00:00
8dfdc04e13
* Introduce UnorderedRecvStream newtype and remove unordered flag from recv_chunk The only way to do unordered reads is now via the UnorderedRecvStream. UnorderedRecvStream duplicates the API of RecvStream related to stream state * Fix bench * Update quinn/src/recv_stream.rs Co-authored-by: Floris Bruynooghe <flub@n0.computer> * Update quinn/src/recv_stream.rs Co-authored-by: Floris Bruynooghe <flub@n0.computer> * Add links to docs. * Add doc comment to UnorderedRecvStream. * Remove IllegalOrderedRead in quinn. We do not remove ReadableError::IllegalOrderedRead in quinn-proto, since using the current quinn-proto API you can still get it. So we need to panic in the (single) place where we convert a ReadableError to a ReadError. * Move struct definition closer to impl --------- Co-authored-by: Floris Bruynooghe <flub@n0.computer>