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§

source

fn send_event(&self, item: &C, size: usize)

source

fn receive_event(&self, item: &R, size: usize)

Object Safety§

This trait is not object safe.

Implementors§