pub struct SeqRing<T: Copy, const N: usize> { /* private fields */ }Expand description
Overwrite ring for SPSC high-rate telemetry. Producer never waits; consumer may drop if it lags > N.
Implementations§
Trait Implementations§
impl<T: Copy + Send, const N: usize> Sync for SeqRing<T, N>
Auto Trait Implementations§
impl<T, const N: usize> !Freeze for SeqRing<T, N>
impl<T, const N: usize> !RefUnwindSafe for SeqRing<T, N>
impl<T, const N: usize> Send for SeqRing<T, N>where
T: Send,
impl<T, const N: usize> Unpin for SeqRing<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for SeqRing<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