pub fn valid_baud_rate(s: &str) -> Result<u32, String>
Used as a value_parser for sericoms clap CLI struct to validate and parse args into a baud rate.
value_parser
sericom
clap