Expand description
Ringbuffer data storage.
This module provides Storage
and its implementors, which are used by the
crate’s ring buffer types for the backing data buffer. Data could be stored
in different locations: ArrayStorage
stores it on the stack, for const
capacities, while HeapStorage
allocates it on the heap.
Structs§
- Array
Storage - Storage for ring buffers in a fixed-size array.
- Heap
Storage - Storage for ring buffers on the heap.
- Slot
- A slot for storing a single ring buffer item.
Traits§
- Storage
- Storage for a ring buffer.