pub fn match_moniker_against_component_selectors<'a, S, T>(
    moniker: &[T],
    selectors: &'a [S]
) -> Result<Vec<&'a ComponentSelector>, Error>
where S: Borrow<ComponentSelector> + 'a, T: AsRef<str> + ToString,
Expand description

Evaluates a component moniker against a list of component selectors, returning all of the component selectors which are matches for that moniker.

Requires: moniker is not empty. component_selectors contains valid ComponentSelectors.