TelemetryHost

Trait TelemetryHost 

Source
pub trait TelemetryHost: Send + Sync {
    // Required method
    fn emit<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        span: &'life1 SpanContext,
        fields: &'life2 [(&'life3 str, &'life4 str)],
    ) -> Pin<Box<dyn Future<Output = GResult<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait;
}

Required Methods§

Source

fn emit<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, span: &'life1 SpanContext, fields: &'life2 [(&'life3 str, &'life4 str)], ) -> Pin<Box<dyn Future<Output = GResult<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Implementors§