Skip to main content

Crate rt_ring

Crate rt_ring 

Source

Structs§

Consumer
The consumer half of the ring buffer. Not Clone — enforces single-consumer.
Producer
The producer half of the ring buffer. Not Clone — enforces single-producer.

Functions§

new
Creates a new SPSC ring buffer with the given capacity.