pub fn span_from_nats_message(message: &Message) -> SpanExpand description
Extract the current span from a NATS message.
The parent span is set when possible. (Remember to set it when sending the NATS message.) The span is not automatically entered, so you will either have to instrument a function manually or enter it yourself.