Module fuchsia_inspect::stats

source ·
Expand description

§Inspect stats node.

Stats installs a lazy node (or a node with a snapshot) reporting stats about the Inspect being served by the component (such as size, number of dynamic children, etc).


use fuchsia_inspect as inspect;
use fuchsia_inspect::stats;

let inspector = /* the inspector of your choice */
let mut root = inspector.root();  // Or perhaps a different Inspect Node of your choice.
let mut stats = stats::Node::new(&inspector, root);


  • Contains information about inspect such as size and number of dynamic children.