Skip to main content

last_quiet_line

Function last_quiet_line 

Source
pub fn last_quiet_line<S: AsRef<str>>(lines: &[S]) -> Option<usize>
Expand description

The last line after which no reply is in flight: every message that has a fragment by then has its complete line and its closing fragments, was taken over by a newer message on its stream, or a turn boundary closed it. A window cut there splits no message between two windows. It is the cut for a stretch so long that no turn boundary comes within the window limit. None when no line qualifies.