Struct freertos_rs::QueuePublisher [] [src]

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

A pub-sub queue. An item sent to the publisher is sent to every subscriber.


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

Create a new publisher

Send an item to every subscriber. Returns the number of subscribers that have received the item.

Subscribe to this publisher. Can accept a fixed amount of items.

Trait Implementations

impl<T: Sized + Copy> Clone for QueuePublisher<T>

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more