Skip to main content

pipe

Function pipe 

Source
pub fn pipe(size: usize) -> (Writer, Reader)
Expand description

Create a ringbuffer with the specified byte capacity. Once the buffer is exhausted, the writer will block.