Function hashmap_parser

Source
pub fn hashmap_parser<K, V>(s: &str) -> Option<HashMap<K, V>>
where K: FromStr + Hash + Eq, V: FromStr,
Expand description

Function that parses Dict arguments into HashMaps. Provided for user convenience and use as an implementor of ArgGetter.

ยงPanics

Panics if improper or no separator is found (expects key:value key2:value2...)