pub async fn fuzzy_search_accessors(
query: &str,
realm_query: &RealmQueryProxy,
) -> Result<(Moniker, String), Error>Expand description
Searches for a diagnostics ArchiveAccessor across all components in the
topology.
Unlike [fuzzy_search], which queries component instances by their moniker,
URL, or ID, this function specifically inspects capabilities exposed under
the diagnostics-accessors dictionary starting with
fuchsia.diagnostics.ArchiveAccessor.
Query format:
<moniker_query>:<protocol_query>: Fuzzy matches on both the component moniker and the accessor protocol name.<moniker_query>: Fuzzy matches on the moniker and matches any accessor protocol exposed by that component.
Disambiguation:
- Exact moniker matches take precedence over partial substring moniker matches.
- Exact protocol matches take precedence over partial substring protocol matches.
- If resolution cannot be narrowed to a single accessor, returns
Error::FuzzyMatchTooManyMatches.