pub struct QueueSubscriber<T: Sized + Copy + Send> { /* private fields */ }Expand description
A subscribtion to the publisher.
Implementations§
Source§impl<T: Sized + Copy + Send> QueueSubscriber<T>
impl<T: Sized + Copy + Send> QueueSubscriber<T>
Sourcepub fn receive<D: DurationTicks>(&self, max_wait: D) -> Result<T, FreeRtosError>
pub fn receive<D: DurationTicks>(&self, max_wait: D) -> Result<T, FreeRtosError>
Wait for an item to be posted from the publisher.