pub trait BytesMetricExt {
// Required method
fn bytes_counter(
self,
name: impl Into<Cow<'static, str>>,
) -> BytesCounterMetric;
}Expand description
Extension trait for DataFusion’s metric system that adds support for byte count metrics that display using human-readable byte sizes (KB, MB, GB) instead of plain count notation.
Required Methods§
fn bytes_counter(self, name: impl Into<Cow<'static, str>>) -> BytesCounterMetric
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.