pub struct BoundQueue<const C: usize = 64, M: RawMutex = CriticalSectionRawMutex>(/* private fields */);Expand description
A fixed-capacity queue implementation using heapless::Deque.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const C: usize = 64, M = CriticalSectionRawMutex> !Freeze for BoundQueue<C, M>
impl<const C: usize = 64, M = CriticalSectionRawMutex> !RefUnwindSafe for BoundQueue<C, M>
impl<const C: usize, M> Send for BoundQueue<C, M>where
M: Send,
impl<const C: usize, M> Sync for BoundQueue<C, M>where
M: Sync,
impl<const C: usize, M> Unpin for BoundQueue<C, M>where
M: Unpin,
impl<const C: usize, M> UnsafeUnpin for BoundQueue<C, M>where
M: UnsafeUnpin,
impl<const C: usize, M> UnwindSafe for BoundQueue<C, M>where
M: UnwindSafe,
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