pub struct ListTopicsResult { /* private fields */ }Expand description
The result of Admin::list_topics.
Implementations§
Source§impl ListTopicsResult
impl ListTopicsResult
Sourcepub fn names_to_listings(&self) -> KafkaFuture<HashMap<String, TopicListing>>
pub fn names_to_listings(&self) -> KafkaFuture<HashMap<String, TopicListing>>
Returns a future which yields a map of topic names to TopicListing
objects.
Sourcepub fn listings(&self) -> KafkaFuture<Vec<TopicListing>>
pub fn listings(&self) -> KafkaFuture<Vec<TopicListing>>
Returns a future which yields a collection of TopicListing objects.
Sourcepub fn names(&self) -> KafkaFuture<HashSet<String>>
pub fn names(&self) -> KafkaFuture<HashSet<String>>
Returns a future which yields a set of topic names.
Trait Implementations§
Source§impl Clone for ListTopicsResult
impl Clone for ListTopicsResult
Auto Trait Implementations§
impl !RefUnwindSafe for ListTopicsResult
impl !UnwindSafe for ListTopicsResult
impl Freeze for ListTopicsResult
impl Send for ListTopicsResult
impl Sync for ListTopicsResult
impl Unpin for ListTopicsResult
impl UnsafeUnpin for ListTopicsResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more