pub struct DeleteTopicsResult { /* private fields */ }Expand description
The result of the Admin::delete_topics_with_* methods.
Implementations§
Source§impl DeleteTopicsResult
impl DeleteTopicsResult
Sourcepub fn topic_id_values(&self) -> Option<&HashMap<Uuid, KafkaFuture<()>>>
pub fn topic_id_values(&self) -> Option<&HashMap<Uuid, KafkaFuture<()>>>
Use when Admin::delete_topics_with_topic_collection_options used a TopicCollection
of ids.
§Returns
a map from topic IDs to futures which can be used to check the status of individual
deletions if the deleteTopics request used topic IDs. Otherwise return None.
Sourcepub fn topic_name_values(&self) -> Option<&HashMap<String, KafkaFuture<()>>>
pub fn topic_name_values(&self) -> Option<&HashMap<String, KafkaFuture<()>>>
Use when Admin::delete_topics_with_topic_collection_options used a TopicCollection
of names.
§Returns
a map from topic names to futures which can be used to check the status of individual
deletions if the deleteTopics request used topic names. Otherwise return None.
Sourcepub fn all(&self) -> KafkaFuture<()>
pub fn all(&self) -> KafkaFuture<()>
Returns a future which succeeds only if all the topic deletions succeed.
Trait Implementations§
Source§impl Clone for DeleteTopicsResult
impl Clone for DeleteTopicsResult
Source§fn clone(&self) -> DeleteTopicsResult
fn clone(&self) -> DeleteTopicsResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DeleteTopicsResult
impl !RefUnwindSafe for DeleteTopicsResult
impl Send for DeleteTopicsResult
impl Sync for DeleteTopicsResult
impl Unpin for DeleteTopicsResult
impl UnsafeUnpin for DeleteTopicsResult
impl !UnwindSafe for DeleteTopicsResult
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