Struct heapless::mpmc::MpMcQueue[][src]

pub struct MpMcQueue<T, const N: usize> { /* fields omitted */ }
Expand description

MPMC queue with a capacity for N elements N must be a power of 2 The max value of N is u8::MAX - 1 if mpmc_large feature is not enabled.

Implementations

Creates an empty queue

Returns the item in the front of the queue, or None if the queue is empty

Adds an item to the end of the queue

Returns back the item if the queue is full

Trait Implementations

Returns the “default value” for a type. 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.

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.