Backend

Trait Backend 

Source
pub trait Backend: Send + Sync {
    // Provided methods
    fn app_started(&self) { ... }
    fn app_ended(&self) { ... }
    fn context_created(&self, _id: &str) { ... }
    fn context_ended(&self, _ctx: &Context) { ... }
    fn span_created(&self, _id: &str) { ... }
    fn span_data(&self, _key: &str, _value: &str) { ... }
    fn span_ended(&self, _span: Option<&Span>) { ... }
}

Provided Methods§

Source

fn app_started(&self)

Source

fn app_ended(&self)

Source

fn context_created(&self, _id: &str)

Source

fn context_ended(&self, _ctx: &Context)

Source

fn span_created(&self, _id: &str)

Source

fn span_data(&self, _key: &str, _value: &str)

Source

fn span_ended(&self, _span: Option<&Span>)

Implementors§