Expand description
Structs§
- ConsEnd
- Consumer endpoint for retrieving data from the circular buffer.
See
ConsEnd::pop()
andConsEnd::read()
. - ProdEnd
- Producer endpoint for inserting data into the circular buffer.
See
ProdEnd::push()
andProdEnd::write()
.
Functions§
- new_
scbuf - Creates a new circular buffer with the given
capacity
and returns one consumer and one producer endpoint.