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.
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.