pub struct SPMCBufferInput<T: Send + Sync> { /* private fields */ }
Expand description
Producer interface to SPMC buffers
The producer can use this struct to submit updates to the SPMC buffer whenever he likes. These updates may or may not be nonblocking depending on the buffer size and the readout pattern.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SPMCBufferInput<T>
impl<T> !RefUnwindSafe for SPMCBufferInput<T>
impl<T> Send for SPMCBufferInput<T>
impl<T> Sync for SPMCBufferInput<T>
impl<T> Unpin for SPMCBufferInput<T>
impl<T> !UnwindSafe for SPMCBufferInput<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