Skip to main content

MQAdminTopicStatsReadExt

Trait MQAdminTopicStatsReadExt 

Source
pub trait MQAdminTopicStatsReadExt: Send {
    // Required method
    async fn topic_stats_at(
        &self,
        broker_addr: CheetahString,
        topic: CheetahString,
    ) -> ClientResult<TopicStatsTable>;
}
Expand description

Additive capability for reading Topic statistics from one already resolved Broker target. Address resolution remains the responsibility of a trusted adapter and addresses never cross this trait’s result boundary.

Required Methods§

Source

async fn topic_stats_at( &self, broker_addr: CheetahString, topic: CheetahString, ) -> ClientResult<TopicStatsTable>

Reads the Topic statistics exposed by one exact Broker.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§