diagnostics_assertions

Trait DiagnosticsHierarchyGetter

Source
pub trait DiagnosticsHierarchyGetter<K>
where 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.

Required Methods§

Implementors§