Skip to main content

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>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§