Skip to main content

RuntimeTelemetry

Trait RuntimeTelemetry 

Source
pub trait RuntimeTelemetry: Send + Sync {
    // Required method
    fn start(
        &self,
        operation: RuntimeOperation,
    ) -> Box<dyn RuntimeTelemetryScope>;

    // Provided methods
    fn is_noop(&self) -> bool { ... }
    fn extract_context(
        &self,
        _carrier: &BTreeMap<String, String>,
    ) -> Box<dyn RuntimeTelemetryPropagationContext> { ... }
    fn flush(&self) { ... }
    fn shutdown(&self) { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§