Function read_until_whitespace

Source
pub fn read_until_whitespace<R: BufRead>(
    reader: &mut R,
    max_size: usize,
) -> Result<String>
Expand description

Skips all starting whitespace characters and then reads a string until the next whitespace character Example: “ test string“ => “test”