SPSC channel backed by a ring buffer.
The channel is optimized for sending and receiving bytes - it has several features allowing to produce and consume items in bulk. This makes it suitable for implementing an intra-process pipe stream. However it may be used with other types as well.
Features include:
view
functions for safely accessing the buffer directly, ex. for doing IO directly from
or to the buffer.no_std
compatible (currently requires alloc
)Does not support:
Mutex
though.