Function spirit::utils::key_val

source ·
pub fn key_val<K, V>(opt: &str) -> Result<(K, V), Error>where
    K: FromStr,
    K::Err: Fail + 'static,
    V: FromStr,
    V::Err: Fail + 'static,
Expand description

A helper for deserializing map-like command line arguments.