Struct spmc_buffer::SPMCBufferInput
[−]
[src]
pub struct SPMCBufferInput<T: Clone + PartialEq + Send> { /* fields omitted */ }
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.
Methods
impl<T: Clone + PartialEq + Send> SPMCBufferInput<T>
[src]
fn write(&mut self, value: T)
Write a new value into the SPMC buffer