fuchsia_inspect::hierarchy

Function select_from_hierarchy

Source
pub fn select_from_hierarchy<'a, 'b, Key>(
    root_node: &'a DiagnosticsHierarchy<Key>,
    selector: &'b Selector,
) -> Result<Vec<&'a Property<Key>>, Error>
where 'a: 'b, Key: AsRef<str>,
Expand description

Applies a single selector to a DiagnosticsHierarchy, returning a vector of tuples for every property in the hierarchy matched by the selector.