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 Constants§
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.