Skip to main content

TopicStatsReporter

Trait TopicStatsReporter 

Source
pub trait TopicStatsReporter: Send + Sync {
    // Required method
    fn reportable_topics(&mut self) -> Vec<TopicStat>;
}
Expand description

Trait for reporting statistics about topics.

Required Methods§

Source

fn reportable_topics(&mut self) -> Vec<TopicStat>

Returns a list of topic statistics that can be reported.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§