pub trait ServiceStats:
Clone
+ Debug
+ Send
+ Sync
+ Default
+ 'static {
// Required methods
fn reset(&mut self);
fn merge(&mut self, other: &Self);
fn summary(&self) -> HashMap<String, String>;
}Expand description
Generic trait for service statistics collection
Required Methods§
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.