ClientWithStats

Trait ClientWithStats 

Source
pub trait ClientWithStats: Client + Stats {
    // Required method
    fn to_client(self: Arc<Self>) -> Arc<dyn Client>;
}
Expand description

Client that also emits Stats

Required Methods§

Source

fn to_client(self: Arc<Self>) -> Arc<dyn Client>

Implementors§