Skip to main content

OtlpClient

Trait OtlpClient 

Source
pub trait OtlpClient {
    // Required method
    fn post_json(
        &mut self,
        endpoint: &str,
        payload: &str,
        content_type: &str,
    ) -> Result<()>;
}

Required Methods§

Source

fn post_json( &mut self, endpoint: &str, payload: &str, content_type: &str, ) -> Result<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§