netstack_testing_common

Function get_inspect_data

Source
pub async fn get_inspect_data(
    realm: &TestRealm<'_>,
    component_moniker: impl Into<String>,
    tree_selector: impl Into<String>,
) -> Result<DiagnosticsHierarchy>
Expand description

Gets inspect data in realm.

Returns the resulting inspect data for component filtered by tree_selector.