Trait mz_service::codec::StatsCollector
source · pub trait StatsCollector<C, R>:
Clone
+ Debug
+ Send
+ Sync {
// Required methods
fn send_event(&self, item: &C, size: usize);
fn receive_event(&self, item: &R, size: usize);
}
Required Methods§
fn send_event(&self, item: &C, size: usize)
fn receive_event(&self, item: &R, size: usize)
Object Safety§
This trait is not object safe.