Function channel_layer_with_spans

Source
pub fn channel_layer_with_spans(
    tx: Sender<OwnedEventWithSpans>,
) -> CallbackLayerWithSpan
Expand description

Returns a layer that will send an OwnedEvent on the provided channel on each relevant event along with a vector of parent spans.