pub struct OrderedDataQueue { /* fields omitted */ }
This is the OrderedDataQueue.
Duplicates MUST be filtered out before chunks are fed to OrderedDataQueue.
Chunks fed to OrderedDataQueue MUST all have a common stream id. (In other words,
streams must be demultiplexed and each stream fed to its own OrderedDataQueue.)
A HashMap+LinkedList implementation would perform only slightly better in the worst-case
scenarios, but this BinaryHeap+LinkedList implementation performs better across most cases.
Create a new OrderedDataQueue.
Enqueue chunks into the OrderedDataQueue, and return any messages that we have been able to
assemble.
Formats the value using the given formatter. Read more