Struct heapless::ring_buffer::Producer [] [src]

pub struct Producer<'a, T, A> where
    A: Unsize<[T]>, 
{ /* fields omitted */ }

A ring buffer "producer"; it can enqueue items into the ring buffer

Methods

impl<'a, T, A> Producer<'a, T, A> where
    A: Unsize<[T]>, 
[src]

[src]

Adds an item to the end of the queue

Returns BufferFullError if the queue is full

Trait Implementations

impl<'a, T, A> Send for Producer<'a, T, A> where
    A: Unsize<[T]>,
    T: Send
[src]