[−][src]Crate starb
An implementation of STAtically allocated Ring Buffers.
This is a simple ring-buffer structure that lives on the stack,
rather than the heap, so that it can be used in no-std
environments, such as embedded.
Structs
Reader | Consumer of |
RingBuffer | A lock-free concurrent ring buffer that prevents overwriting data before it is read. |
Writer | Producer for |
Enums
Error | Errors that can be made when interacting with the ring buffer. |
Constants
CAPACITY | Underlying buffer capacity. Needs to be hard-coded for now, because the size of the structure needs to be known at compile time so it can be statically allocated or created on the stack. |