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.
An AsyncRead + AsyncWrite stream, which reads from one ringbuffer, and writes to another.
Read access to a nonblocking ring buffer with fixed capacity.
Write access to a nonblocking ring buffer with fixed capacity.
Creates a new RingBuffer with the given capacity, and returns a handle for writing and a handle for reading.