Struct sync::spsc_queue::ProducerExperimental
[-]
[+]
[src]
pub struct Producer<T> {
// some fields omitted
}A safe abstraction for the producer in a single-producer single-consumer queue.
Methods
impl<T: Send> Producer<T>
fn push(&mut self, t: T)
Pushes a new value onto the queue.