Modules§
- chunks
- Writing and reading multiple items at once into and from a
RingBuffer.
Structs§
- Consumer
- The consumer side of a
RingBuffer. - Producer
- The producer side of a
RingBuffer. - Read
Chunk - Structure for reading from multiple slots in one go.
- Ring
Buffer - A bounded single-producer single-consumer (SPSC) queue.
- Write
Chunk Uninit - Structure for writing into multiple (uninitialized) slots in one go.
Enums§
- Chunk
Error - Error type for
Consumer::read_chunk(),Producer::write_chunk()andProducer::write_chunk_uninit(). - Peek
Error - Error type for
Consumer::peek(). - PopError
- Error type for
Consumer::pop(). - Push
Error - Error type for
Producer::push().
Traits§
- Consumer
Ext - Copy
ToUninit - Extension trait used to provide a
copy_to_uninit()method on built-in slices. - Producer
Ext - Read
Chunk Ext - Write
Chunk Ext