Module rubble::link::queue[][src]

Expand description

An SPSC queue for data channel PDUs.

Data channel PDUs are received and transmitted in time-critical code, so they’re sent through a queue to be processed at a later time (eg. in the application’s idle loop).

This module defines the following important items:

Structs

Bundles a T along with information telling a queue whether to consume a packet.

Consumer (reader) half returned by SimpleQueue::split.

Producer (writer) half returned by SimpleQueue::split.

A simple packet queue that can hold a single packet.

Traits

The consuming (reading) half of a packet queue.

A splittable SPSC queue for data channel PDUs.

The producing (writing) half of a packet queue.

Functions

Runs Rubble’s packet queue testsuite against the given PacketQueue.