pub trait DiagnosticsData {
    type Metadata: Metadata;
    type Key: AsRef<str> + Clone + DeserializeOwned + Eq + FromStr + Hash + Send + 'static;

    const DATA_TYPE: DataType;
}
Expand description

A trait implemented by marker types which denote “kinds” of diagnostics data.

Required Associated Types§

source

type Metadata: Metadata

The type of metadata included in results of this type.

source

type Key: AsRef<str> + Clone + DeserializeOwned + Eq + FromStr + Hash + Send + 'static

The type of key used for indexing node hierarchies in the payload.

Required Associated Constants§

source

const DATA_TYPE: DataType

Used to query for this kind of metadata in the ArchiveAccessor.

Object Safety§

This trait is not object safe.

Implementors§