Struct webrtc_sctp::stack::queue::OrderedDataQueue[][src]

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.

Methods

impl OrderedDataQueue
[src]

Create a new OrderedDataQueue.

Enqueue chunks into the OrderedDataQueue, and return any messages that we have been able to assemble.

Trait Implementations

impl Debug for OrderedDataQueue
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations