pub struct QueueSubscriber<T: Sized + Copy> { /* private fields */ }
Expand description
A subscribtion to the publisher.
Implementations§
Source§impl<T: Sized + Copy> QueueSubscriber<T>
impl<T: Sized + Copy> 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.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for QueueSubscriber<T>
impl<T> !RefUnwindSafe for QueueSubscriber<T>
impl<T> Send for QueueSubscriber<T>
impl<T> Sync for QueueSubscriber<T>
impl<T> Unpin for QueueSubscriber<T>
impl<T> !UnwindSafe for QueueSubscriber<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more