pub fn values_as<T: TryFrom<Cow<'event, [u8]>>>(&self, key: &Key) -> Result<Vec<T>, GitConfigError<'event>> {
        self.values(key)
            .into_iter()
            .map(T::try_from)
            .collect::<Result<Vec<T>, _>>()
            .map_err(|_| GitConfigError::FailedConversion)
    }
/// Retrieves all values that have the provided key name. This may return
/// an empty vec, which implies there was values with the provided key.
///
/// # Errors
///
/// Returns an error if the conversion failed.
Retrieves all values that have the provided key name. This may return
an empty vec, which implies there was values with the provided key.
Retrieves all values that have the provided key name . This may return an empty vec which implies there was values with the provided key .
pub fn values_as<T: TryFrom<Cow<'event, [u8]>>>(&self, key: &Key) -> Result<Vec<T>, GitConfigError<'event>> {
        self.values(key)
            .into_iter()
            .map(T::try_from)
            .collect::<Result<Vec<T>, _>>()
            .map_err(|_| GitConfigError::FailedConversion)
    }
pub fn values_as < T : TryFrom < Cow < ' event , [ u8 ] > > > ( & self , key : & Key ) -> Result < Vec < T > , GitConfigError < ' event > > { self . values ( key ) . into_iter ( ) . map ( T :: try_from ) . collect :: < Result < Vec < T > , _ > > ( ) . map_err ( | _ | GitConfigError :: FailedConversion ) }
Retrieves all values that have the provided key name.
Retrieves all values that have the provided key name .
&self
key
&Key
errors
Returns an error if the conversion failed.
Returns an error if the conversion failed .