async-ringbuffer

Crates.ioasync-ringbuffer
lib.rsasync-ringbuffer
version0.5.5
sourcesrc
created_at2017-11-22 22:25:38.538426
updated_at2019-12-22 17:17:39.931953
descriptionA nonblocking spsc ring buffer with fixed capacity.
homepage
repositoryhttps://github.com/sunrise-choir/async-ringbuffer
max_upload_size
id40276
size48,819
all (github:sunrise-choir:all)

documentation

README

Async Ringbuffer

Documentation Build Status

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.

This crate is to AsyncRead and AsyncWrite what futures::unsync::spsc is to Stream and Sink (except that futures::unsync::spsc doesn't currently exist).

Commit count: 35

cargo fmt