/// Record values for the given span.
Record values for the given span.
Record values for the given span .
fn on_record(&self, id: &Id, values: &Record<'_>, ctx: Context<'_, S>) {
        let span = ctx.span(id).expect("Span not found, this is a bug");
        let mut extensions = span.extensions_mut();
        if let Some(builder) = extensions.get_mut::<api::SpanBuilder>() {
            values.record(&mut SpanAttributeVisitor(builder));
        }
    }
fn on_record ( & self , id : & Id , values : & Record < ' _ > , ctx : Context < ' _ , S > ) { let span = ctx . span ( id ) . expect ( " " ) ; let mut extensions = span . extensions_mut ( ) ; if let Some ( builder ) = extensions . get_mut :: < api :: SpanBuilder > ( ) { values . record ( & mut SpanAttributeVisitor ( builder ) ) ; } }
Record values for the given span.
Record values for the given span .
&self
id
&Id
values
&Record<'_>
ctx
Context<'_, S>