Struct rubble::link::queue::SimpleQueue[][src]

pub struct SimpleQueue {
    inner: Queue<[u8; 29], 2>,
}
Expand description

A simple packet queue that can hold a single packet.

This type is compatible with thumbv6 cores, which lack atomic operations that might be needed for other queue implementations.

Fields

inner: Queue<[u8; 29], 2>

Implementations

Creates a new, empty queue.

Trait Implementations

Producing (writing) half of the queue.

Consuming (reading) half of the queue.

Splits the queue into its producing and consuming ends. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.