pub struct DescribeTopicsResult { /* private fields */ }Expand description
The result of Admin::describe_topics_with_topics.
Implementations§
Source§impl DescribeTopicsResult
impl DescribeTopicsResult
Sourcepub fn topic_id_values(
&self,
) -> Option<&HashMap<Uuid, KafkaFuture<TopicDescription>>>
pub fn topic_id_values( &self, ) -> Option<&HashMap<Uuid, KafkaFuture<TopicDescription>>>
Use when Admin::describe_topics_with_topics_options used a
TopicCollection of ids.
§Returns
a map from topic IDs to futures which can be used to check the status of individual topics
if the request used topic IDs, otherwise return None.
Sourcepub fn topic_name_values(
&self,
) -> Option<&HashMap<String, KafkaFuture<TopicDescription>>>
pub fn topic_name_values( &self, ) -> Option<&HashMap<String, KafkaFuture<TopicDescription>>>
Use when Admin::describe_topics_with_topics_options used a
TopicCollection of names.
§Returns
a map from topic names to futures which can be used to check the status of individual topics
if the request used topic names, otherwise return None.
Sourcepub fn all_topic_names(
&self,
) -> Option<KafkaFuture<HashMap<String, TopicDescription>>>
pub fn all_topic_names( &self, ) -> Option<KafkaFuture<HashMap<String, TopicDescription>>>
Returns a future map from topic names to descriptions which can be used to check the
status of individual description if the describe topic request used topic names,
otherwise None. This request succeeds only if all the topic descriptions succeed.
Sourcepub fn all_topic_ids(
&self,
) -> Option<KafkaFuture<HashMap<Uuid, TopicDescription>>>
pub fn all_topic_ids( &self, ) -> Option<KafkaFuture<HashMap<Uuid, TopicDescription>>>
Returns a future map from topic ids to descriptions which can be used to check the
status of individual description if the describe topic request used topic ids,
otherwise None. This request succeeds only if all the topic descriptions succeed.
Trait Implementations§
Source§impl Clone for DescribeTopicsResult
impl Clone for DescribeTopicsResult
Source§fn clone(&self) -> DescribeTopicsResult
fn clone(&self) -> DescribeTopicsResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more