pub struct DeleteTopicsOptions { /* private fields */ }Expand description
Options for Admin::delete_topics_with_topic_collection_options.
Implementations§
Source§impl DeleteTopicsOptions
impl DeleteTopicsOptions
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates default options (retry_on_quota_violation=true, default API
timeout).
Sourcepub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
pub fn set_timeout_ms(self, timeout_ms: Option<i32>) -> Self
Sourcepub fn timeout_ms(&self) -> Option<i32>
pub fn timeout_ms(&self) -> Option<i32>
Returns the timeout in milliseconds for this operation, or None if the
default API timeout for the AdminClient should be used.
Sourcepub fn set_retry_on_quota_violation(
self,
retry_on_quota_violation: bool,
) -> Self
pub fn set_retry_on_quota_violation( self, retry_on_quota_violation: bool, ) -> Self
Sourcepub fn should_retry_on_quota_violation(&self) -> bool
pub fn should_retry_on_quota_violation(&self) -> bool
Returns true if quota violation should be automatically retried.
Trait Implementations§
Source§impl Clone for DeleteTopicsOptions
impl Clone for DeleteTopicsOptions
Source§fn clone(&self) -> DeleteTopicsOptions
fn clone(&self) -> DeleteTopicsOptions
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 moreSource§impl Debug for DeleteTopicsOptions
impl Debug for DeleteTopicsOptions
Auto Trait Implementations§
impl Freeze for DeleteTopicsOptions
impl RefUnwindSafe for DeleteTopicsOptions
impl Send for DeleteTopicsOptions
impl Sync for DeleteTopicsOptions
impl Unpin for DeleteTopicsOptions
impl UnsafeUnpin for DeleteTopicsOptions
impl UnwindSafe for DeleteTopicsOptions
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