Expand description

Diagnostics hierarchy

This library provides a tree strcture used to store diagnostics data such as inspect and logs, as well as utilities for reading from it, serializing and deserializing it and testing it.

Modules§

Macros§

  • This macro simplifies creating diagnostics hierarchies, to remove the need of writing multiple nested hierarchies and manually writing all properties.

Structs§

Enums§

  • Represents the content of a DiagnosticsHierarchy array property: a regular array or a linear/exponential histogram.
  • Format in which the array will be read.
  • Errors that can happen in this library.
  • Reasons why the value couldn’t be loaded.
  • A named property. Each of the fields consists of (name, value).

Constants§

Traits§

  • A type which can function as a “view” into a diagnostics hierarchy, optionally allocating a new instance to service a request.

Functions§

  • Filters a diagnostics hierarchy using a set of path selectors and their associated property selectors.
  • Filters a hierarchy given a tree selector.
  • Applies a single selector to a DiagnosticsHierarchy, returning a vector of tuples for every property in the hierarchy matched by the selector.