pub trait MQAdminTopicInventoryReadExt: Send {
// Required method
async fn fetch_topic_inventory(
&self,
cluster: Option<CheetahString>,
) -> ClientResult<TopicList>;
}Expand description
Additive read-only capability for a NameServer Topic inventory.
This capability deliberately exposes only the cluster/global inventory requests. It does not grant route, consumer, or mutation access.
Required Methods§
Sourceasync fn fetch_topic_inventory(
&self,
cluster: Option<CheetahString>,
) -> ClientResult<TopicList>
async fn fetch_topic_inventory( &self, cluster: Option<CheetahString>, ) -> ClientResult<TopicList>
Fetches one cluster inventory when cluster is present, or the global
NameServer inventory otherwise.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".