Struct spmc_buffer::SPMCBufferOutput
[−]
[src]
pub struct SPMCBufferOutput<T: Clone + Send + Sync> { /* fields omitted */ }
Consumer interface to SPMC buffers
A consumer of data can use this struct to access the latest published update from the producer whenever he likes. Readout is nonblocking: a collision between the producer and a consumer will result cache contention induced slowdown, but deadlocks and scheduling-induced slowdowns cannot happen.
Methods
impl<T: Clone + Send + Sync> SPMCBufferOutput<T>[src]
Trait Implementations
impl<T: Debug + Clone + Send + Sync> Debug for SPMCBufferOutput<T>[src]
impl<T: Clone + Send + Sync> Clone for SPMCBufferOutput<T>[src]
fn clone(&self) -> Self[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more