Struct spmc_buffer::SPMCBufferOutput [] [src]

pub struct SPMCBufferOutput<T: 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: Send + Sync> SPMCBufferOutput<T>
[src]

[src]

Access the latest value from the SPMC buffer

Trait Implementations

impl<T: Debug + Send + Sync> Debug for SPMCBufferOutput<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: Send + Sync> Clone for SPMCBufferOutput<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Send + Sync> Drop for SPMCBufferOutput<T>
[src]

[src]

Executes the destructor for this type. Read more