Crate fidl_fuchsia_diagnostics_common

Source

Macros§

ClientSelectorConfigurationUnknown
Pattern that matches an unknown ClientSelectorConfiguration member.
SelectorArgumentUnknown
Pattern that matches an unknown SelectorArgument member.
StringSelectorUnknown
Pattern that matches an unknown StringSelector member.
TreeNamesUnknown
Pattern that matches an unknown TreeNames member.
TreeSelectorUnknown
Pattern that matches an unknown TreeSelector member.

Structs§

All
ComponentSelector
Specifies a pattern of component monikers which identify components being selected for.
Interest
Interest expresses the scope of clients’ desired diagnostics data, e.g. for filtering messages or controlling their generation.
LogInterestSelector
LogSettingsRegisterInterestRequest
LogSettingsSetComponentInterestRequest
LogSettingsSetInterestRequest
LogStreamOptions
PerformanceConfiguration
Parameters which configure a diagnostics stream’s performance properties.
PropertySelector
A selector defining a set of nodes to match, and on those matched nodes a set of named properties to match.
Selector
Structured selector containing all required information for pattern-matching onto string-named properties owned by nodes in a data hierarchy, where data hierarchies belong to specific components.
StreamParameters
Parameters needed to configure a stream of diagnostics information.
SubtreeSelector
A selector defining a set of nodes to match, for which the entire subtree including those nodes are selected.

Enums§

ClientSelectorConfiguration
DataType
Format
Enum used to specify the output format for Reader results.
ReaderError
Enum describing the potential failure states of the streaming protocol when serving results to the client over the result iterator.
SelectorArgument
Argument used for Archive selectors, can be either the pre-parsed fidl struct or string representation.
Severity
The severity of a given record.
StreamMode
Enum specifying the modes by which a user can connect to and stream diagnostics metrics.
StringSelector
StringSelector is an union defining different ways to describe a pattern to match strings against.
TreeNames
TreeNames are the set of names of fuchsia.inspect.Trees for a component that were parsed out of a selector. The hierarchy and property selector portions will only be applied to trees that match this set.
TreeSelector
TreeSelector represents a selection request on a hierarchy of named nodes, with named properties on those nodes.

Constants§

COMPONENT_URL_ARG_NAME
MAXIMUM_ENTRIES_PER_BATCH
The size 64 was chosen because entries in batches are handles to VMOs and there is a limit of 64 handles per fidl message.
MAXIMUM_RAW_SELECTOR_LENGTH
The size bound of 1024 is a reasonably low size restriction that meets most canonical selectors we’ve ecountered.
MAX_DATA_HIERARCHY_DEPTH
MAX_LOG_SELECTORS
Max number of LogInterestSelectors that can be specified via a listener.
MAX_MONIKER_SEGMENTS
MAX_STRING_SELECTOR_LENGTH
MONIKER_ARG_NAME
ROLLED_OUT_ARG_NAME