pub trait Histogram:
Send
+ Sync
+ Debug {
// Required method
fn record(
&self,
value: f64,
attributes: Option<&Attributes>,
context: Option<&dyn Context>,
);
}Expand description
Collects a set of events with an event count and sum for all events.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".