pub struct AtomicRingBufferSpsc<T, const N: usize> { /* private fields */ }Expand description
Uses atomic’s instead of mutexes
Implementations§
Trait Implementations§
Source§impl<T, const N: usize> Drop for AtomicRingBufferSpsc<T, N>
impl<T, const N: usize> Drop for AtomicRingBufferSpsc<T, N>
impl<T, const N: usize> Sync for AtomicRingBufferSpsc<T, N>
Auto Trait Implementations§
impl<T, const N: usize> !Freeze for AtomicRingBufferSpsc<T, N>
impl<T, const N: usize> !RefUnwindSafe for AtomicRingBufferSpsc<T, N>
impl<T, const N: usize> Send for AtomicRingBufferSpsc<T, N>where
T: Send,
impl<T, const N: usize> Unpin for AtomicRingBufferSpsc<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for AtomicRingBufferSpsc<T, N>where
T: 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