Crate diagnostics_traits

Source
Expand description

Target-agnostic abstractions for Inspect so that code that builds for both host and Fuchsia targets can implement Inspect support.

Macros§

instant_property_name
Constructs an InstantPropertyName to use while recording Instants.

Structs§

FuchsiaInspector
Provides a Fuchsia implementation of Inspector.
InstantPropertyName
A name suitable for use for recording an Instant property representing a moment in time.

Traits§

Inspectable
A trait that allows a type to record its fields to an inspector.
InspectableInstant
A trait that marks a type as an inspectable representation of an instant in time.
InspectableValue
A trait that marks a type as inspectable.
Inspector
A trait abstracting a state inspector.
InspectorDeviceExt
An extension to Inspector that allows transforming and recording device identifiers.
InspectorDeviceIdProvider
Provides an abstract interface for extracting inspect device identifier.