net_traits::fetch::headers

Function collect_sequence

Source
fn collect_sequence<F>(
    position: &mut Peekable<Chars<'_>>,
    condition: F,
) -> String
where F: Fn(char) -> bool,
Expand description