pub trait DiagnosticsHierarchyGetter<K: Clone> {
// Required method
fn get_diagnostics_hierarchy(&self) -> Cow<'_, DiagnosticsHierarchy<K>>;
}
Expand description
A type which can function as a “view” into a diagnostics hierarchy, optionally allocating a new instance to service a request.