Trait JsonGetter

Source
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§

Source

fn get_pretty_json(&self) -> impl Future<Output = String>

Source

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.

Implementors§