Function aptos_cli_common::utils::parse_map
source · [−]pub fn parse_map<K: FromStr + Ord, V: FromStr>(
str: &str
) -> Result<BTreeMap<K, V>> where
K::Err: 'static + Error + Send + Sync,
V::Err: 'static + Error + Send + Sync, Expand description
Parses an inline map of values
Example: Name=Value,Name2=Value