pub fn prop_get_default<'a, T: 'static>(
    map: &'a PropMap,
    key: &str,
    default: &'a T
) -> Result<&'a T, Box<dyn Error>>
Expand description

Like prop_get_optional(), but eliminates the inner Option by returning a provided default value if the key is absent.