pub fn input_stream<T, R>(reader: R) -> Result<T, InputError<T>>
Expand description
Reads an input from a BufRead
reader.
ยงErrors
This function returns an InputError
if the input is invalid, if a parsing error occurs,
or if the input does not meet the specified constraints.