Struct rb::Producer [] [src]

pub struct Producer<T> { /* fields omitted */ }

Producer view into the ring buffer.

Trait Implementations

impl<T: Clone + Copy> RbProducer<T> for Producer<T>
[src]

[src]

Stores the given slice of data into the ring buffer. Returns the number of written elements or an error. Read more

[src]

Works analog to write but blocks until there are free slots in the ring buffer. The number of actual blocks written is returned in the Option value. Read more