pub fn parse_range<T>(
value: &str,
) -> Result<(Option<T>, Option<T>), ParseRangeError>Expand description
Parses an inclusive range string into optional minimum and maximum bounds.
ยงErrors
Returns an error if the range has too many separators or either bound cannot be parsed as T.