Skip to main content

Crate fidl_next_fuchsia_diagnostics

Crate fidl_next_fuchsia_diagnostics 

Source

Re-exports§

pub use self::natural::*;

Modules§

archive_accessor
batch_iterator
compat
Compatibility shims which mimic some API surfaces of the current Rust bindings.
generic
log_flusher
log_settings
log_stream
natural
sample
sample_sink
wire
wire_optional

Structs§

All
ArchiveAccessor
The type corresponding to the ArchiveAccessor protocol. Outer protocol for interacting with the different diagnostics data sources.
ArchiveAccessorWaitForReadyResponse
BatchIterator
The type corresponding to the BatchIterator protocol. Conceptually, a directory iterator, where each element in the iterator is a single complete file that can be concatenated with other results.
BatchIteratorWaitForReadyResponse
ComponentSelector
Specifies a pattern of component monikers which identify components being selected for.
LogFlusher
The type corresponding to the LogFlusher protocol.
LogFlusherWaitUntilFlushedResponse
LogInterestSelector
LogSettings
The type corresponding to the LogSettings protocol. This protocol allows clients to modify the logging behavior of components in the system.
LogSettingsSetComponentInterestRequest
LogStream
The type corresponding to the LogStream protocol.
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.
Sample
The type corresponding to the Sample protocol. Configure Archivist to alert you periodically about the state of data provided via SampleParameters.
SampleCommitResponse
SampleDatum
SampleParameters
The data for one Sample server.
SampleSink
The type corresponding to the SampleSink protocol. SampleSink is served by the client, in order to be notified when samples are ready.
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.
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

Traits§

ArchiveAccessorClientHandler
A client handler for the ArchiveAccessor protocol.
ArchiveAccessorServerHandler
A server handler for the ArchiveAccessor protocol.
BatchIteratorClientHandler
A client handler for the BatchIterator protocol.
BatchIteratorServerHandler
A server handler for the BatchIterator protocol.
LogFlusherClientHandler
A client handler for the LogFlusher protocol.
LogFlusherServerHandler
A server handler for the LogFlusher protocol.
LogSettingsClientHandler
A client handler for the LogSettings protocol.
LogSettingsServerHandler
A server handler for the LogSettings protocol.
LogStreamClientHandler
A client handler for the LogStream protocol.
LogStreamServerHandler
A server handler for the LogStream protocol.
SampleClientHandler
A client handler for the Sample protocol.
SampleServerHandler
A server handler for the Sample protocol.
SampleSinkClientHandler
A client handler for the SampleSink protocol.
SampleSinkServerHandler
A server handler for the SampleSink protocol.