pub fn line_queue(most: usize) -> (LineQueue, Lines)Expand description
Returns a queue that holds at most most lines, or one line when
most is 0: the side that a run fills, which
Capture::lines takes, and the caller’s side.
Each queue serves one run. The run ends the queue when it returns, on
every path, including a start failure and a cancel before the start, so
Lines::recv then returns None once the queue is empty.