pub trait MetricsExt {
// Required methods
fn find_count(&self, name: &str) -> Option<Count>;
fn iter_counts(&self) -> impl Iterator<Item = (impl AsRef<str>, &Count)>;
}
Required Methods§
fn find_count(&self, name: &str) -> Option<Count>
fn iter_counts(&self) -> impl Iterator<Item = (impl AsRef<str>, &Count)>
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.