pub fn parse_rate(input: &str) -> Result<u64, String>
Parse 20MiB/s, 20MB, 1.5m, 500k, 1000 (bytes/s).
20MiB/s
20MB
1.5m
500k
1000