[−][src]Function spsc_bip_buffer::bip_buffer_with_len
pub fn bip_buffer_with_len(len: usize) -> (BipBufferWriter, BipBufferReader)
Creates a new BipBufferWriter
/BipBufferReader
pair using a Vec
of the specified length
as underlying storage.
BipBufferWriter
and BipBufferReader
represent the send and receive side of the
single-producer single-consumer queue respectively.