Experimental: This library is in early development, interfaces and behavior might change at any commit.
This crate is supposed to be used in real-time contexts. Therefore, it is strictly no_std and no_alloc.
The backing storage has to be provided by the user, it can be static, stack, heap or shared memory.
Writes always succeed immediately, the writer never blocks or waits. It might overwrite data in case of a slow reader.
It is always possible to interact directly with the underlying buffer via references, there are no implicit copies.
Features:
- metrics: Collect metrics like skipped elements
- notify: Use wait/notify pattern instead of busy polling
This buffer can be used when one is only interested in the latest data.
This buffer can be used when there is a desire to process multiple data points.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.