pub trait DiagnosticsHierarchyGetter<K>where
K: Clone,{
// Required method
fn get_diagnostics_hierarchy<'a>(
&'a self,
) -> impl Future<Output = Cow<'a, DiagnosticsHierarchy<K>>>
where K: 'a;
}
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§
fn get_diagnostics_hierarchy<'a>(
&'a self,
) -> impl Future<Output = Cow<'a, DiagnosticsHierarchy<K>>>where
K: 'a,
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.