pub struct DescribeTopicsOptions { /* private fields */ }Expand description
Options for Admin::describe_topics_with_topics.
Implementations§
Source§impl DescribeTopicsOptions
impl DescribeTopicsOptions
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.
Returns whether authorized operations are requested for the described topics.
Sourcepub fn set_partition_size_limit_per_response(
self,
partition_size_limit_per_response: i32,
) -> Self
pub fn set_partition_size_limit_per_response( self, partition_size_limit_per_response: i32, ) -> Self
Sets the maximum number of partitions to be returned in a single response.
This option:
- Is only effective when using topic names (not topic IDs).
- Will not be effective if it is larger than the server-side configuration
max.request.partition.size.limit.
§Arguments
partition_size_limit_per_response- the maximum number of partitions per response
§Returns
This DescribeTopicsOptions instance.
Sourcepub fn partition_size_limit_per_response(&self) -> i32
pub fn partition_size_limit_per_response(&self) -> i32
Returns the maximum number of partitions to be returned in a single response.
Trait Implementations§
Source§impl Clone for DescribeTopicsOptions
impl Clone for DescribeTopicsOptions
Source§fn clone(&self) -> DescribeTopicsOptions
fn clone(&self) -> DescribeTopicsOptions
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 DescribeTopicsOptions
impl Debug for DescribeTopicsOptions
Auto Trait Implementations§
impl Freeze for DescribeTopicsOptions
impl RefUnwindSafe for DescribeTopicsOptions
impl Send for DescribeTopicsOptions
impl Sync for DescribeTopicsOptions
impl Unpin for DescribeTopicsOptions
impl UnsafeUnpin for DescribeTopicsOptions
impl UnwindSafe for DescribeTopicsOptions
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