pub fn values<'a>(
        &'a self,
        property: &str,
    ) -> Result<&'a BTreeMap<String, String>> {
        let property = self.property.canonical(property)?;
        match self.value.get(&*property) {
            Some(map) => Ok(map),
            None => err!("unrecognized property name: {:?}", property),
        }
    }
/// Return a map from property value (including aliases) to canonical
/// property value for the given property. If no such property exists,
/// then return an error.
Return a map from property value (including aliases) to canonical
property value for the given property. If no such property exists,
then return an error.
Return a map from property value ( including aliases ) to canonical property value for the given property . If no such property exists then return an error .
pub fn values<'a>(
        &'a self,
        property: &str,
    ) -> Result<&'a BTreeMap<String, String>> {
        let property = self.property.canonical(property)?;
        match self.value.get(&*property) {
            Some(map) => Ok(map),
            None => err!("unrecognized property name: {:?}", property),
        }
    }
pub fn values < ' a > ( & ' a self , property : & str , ) -> Result < & ' a BTreeMap < String , String > > { let property = self . property . canonical ( property ) ? ; match self . value . get ( & * property ) { Some ( map ) => Ok ( map ) , None => err ! ( " " property ) , } }
Return a map from property value (including aliases) to canonical
property value for the given property.
Return a map from property value ( including aliases ) to canonical property value for the given property .
&'a self
property
&str
&'a self
property
&str