[][src]Crate spmc_ring

Structs

ReadToken
SpmsRing

This is a ring-buffer queue that is intended to be used for pub-sub applications. That is, a single producer writes items to the circular queue, and multiple consumers can read items from the queue. When a write to the fixed-size circular buffer overflows, the oldest items in the queue are overwritten. It is up to the readers to keep track of which items they have already read and poll for the next available item.