Struct freertos_rs::Queue [] [src]

pub struct Queue<T: Sized + Copy> { /* fields omitted */ }

A queue with a finite size. The items are owned by the queue and are copied.


impl<T: Sized + Copy> Queue<T>

Send an item to the end of the queue. Wait for the queue to have empty space for it.

Send an item to the end of the queue, from an interrupt.

Wait for an item to be available on the queue.

Trait Implementations

impl<T: Sized + Copy> Send for Queue<T>

impl<T: Sized + Copy> Sync for Queue<T>

impl<T: Debug + Sized + Copy> Debug for Queue<T>

Formats the value using the given formatter.

impl<T: Sized + Copy> Drop for Queue<T>

A method called when the value goes out of scope. Read more