pub struct SpmcPlayback<T: Transcendental, const BUF: usize, const CAP: usize> { /* private fields */ }Expand description
An IoPlayback that pushes signal blocks into a lock-free SPSC queue.
Each write_output call wraps the signal data into a TelemetryBlock
and pushes it into a SpscQueue. No allocations, no locks — safe to
call from the RT signal path. A non-RT collector drains the queue.
Implementations§
Source§impl<T: Transcendental, const BUF: usize, const CAP: usize> SpmcPlayback<T, BUF, CAP>
impl<T: Transcendental, const BUF: usize, const CAP: usize> SpmcPlayback<T, BUF, CAP>
Trait Implementations§
Source§impl IoPlayback for SpmcPlayback<f32, 256, 64>
impl IoPlayback for SpmcPlayback<f32, 256, 64>
Auto Trait Implementations§
impl<T, const BUF: usize, const CAP: usize> !Freeze for SpmcPlayback<T, BUF, CAP>
impl<T, const BUF: usize, const CAP: usize> !RefUnwindSafe for SpmcPlayback<T, BUF, CAP>
impl<T, const BUF: usize, const CAP: usize> !UnwindSafe for SpmcPlayback<T, BUF, CAP>
impl<T, const BUF: usize, const CAP: usize> Send for SpmcPlayback<T, BUF, CAP>
impl<T, const BUF: usize, const CAP: usize> Sync for SpmcPlayback<T, BUF, CAP>
impl<T, const BUF: usize, const CAP: usize> Unpin for SpmcPlayback<T, BUF, CAP>
impl<T, const BUF: usize, const CAP: usize> UnsafeUnpin for SpmcPlayback<T, BUF, CAP>
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