Crate fidl_fuchsia_diagnostics__common

Crate fidl_fuchsia_diagnostics__common 

Source

Modules§

archive_accessor_ordinals
batch_iterator_ordinals
log_flusher_ordinals
log_settings_ordinals
log_stream_ordinals
sample_ordinals
sample_sink_ordinals

Macros§

ClientSelectorConfigurationUnknown
Pattern that matches an unknown ClientSelectorConfiguration member.
ConfigurationErrorUnknown
Pattern that matches an unknown ConfigurationError member.
RuntimeErrorUnknown
Pattern that matches an unknown RuntimeError member.
SampleStrategyUnknown
Pattern that matches an unknown SampleStrategy 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
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.
SampleDatum
SampleParameters
The data for one Sample server.
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
ConfigurationError
ConfigurationError indicates a bad setting in Sample::Set. This value is returned before the first sample is taken.
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.
RuntimeError
RuntimeError indicates errors that manifest after the Sample server has begun periodically sampling data. Clients can ignore these errors, though they could potentially indicate that no SampleReady request will ever arrive, or that the batch iterator might behave in unexpected ways, such as hanging.
SampleStrategy
SampleStrategy instructs Archivist on the circumstances under which you want to receive data for the given SampleDatum.
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_SAMPLE_PARAMETERS_PER_SET
The maximum number of parameters that can be sent in one Set call.
MAX_STRING_SELECTOR_LENGTH
MONIKER_ARG_NAME
ROLLED_OUT_ARG_NAME