mz_ore::channel

Trait InstrumentedChannelMetric

Source
pub trait InstrumentedChannelMetric {
    // Required method
    fn bump(&self);
}
Available on crate feature async only.
Expand description

A trait describing a metric that can be used with an instrumented_unbounded_channel.

Required Methods§

Source

fn bump(&self)

Bump the metric, increasing the count of operators (send or receives) that occurred.

Implementors§