Crate async_ringbuffer [−] [src]
An asynchronous, fixed-capacity single-reader single-writer ring buffer that notifies the reader onces data becomes available, and notifies the writer once new space for data becomes available. This is done via the AsyncRead and AsyncWrite traits.
Structs
Reader |
Read access to a nonblocking ring buffer with fixed capacity. |
Writer |
Write access to a nonblocking ring buffer with fixed capacity. |
Functions
ring_buffer |
Creates a new RingBuffer with the given capacity, and returns a handle for writing and a handle for reading. |