Struct triple_buffer::TripleBufferOutput [] [src]

pub struct TripleBufferOutput<T: Clone + PartialEq + Send> { /* fields omitted */ }

Consumer interface to the triple buffer

The 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 consumer will result in cache contention, but deadlocks and scheduling-induced slowdowns cannot happen.

Methods

impl<T: Clone + PartialEq + Send> TripleBufferOutput<T>
[src]

Access the latest value from the triple buffer

Trait Implementations

impl<T: Debug + Clone + PartialEq + Send> Debug for TripleBufferOutput<T>
[src]

Formats the value using the given formatter.