pub trait JsonGetter<K: Clone + AsRef<str>>: DiagnosticsHierarchyGetter<K> {
// Provided methods
fn get_pretty_json(&self) -> impl Future<Output = String> { ... }
fn get_json(&self) -> impl Future<Output = String> { ... }
}
Provided Methods§
fn get_pretty_json(&self) -> impl Future<Output = String>
fn get_json(&self) -> impl Future<Output = String>
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.