pub struct DescribeLogDirsResult { /* private fields */ }Expand description
The result of the Admin::describe_log_dirs call.
Corresponds to org.apache.kafka.clients.admin.DescribeLogDirsResult.
Implementations§
Source§impl DescribeLogDirsResult
impl DescribeLogDirsResult
Sourcepub fn descriptions(
&self,
) -> &HashMap<i32, KafkaFuture<HashMap<String, LogDirDescription>>>
pub fn descriptions( &self, ) -> &HashMap<i32, KafkaFuture<HashMap<String, LogDirDescription>>>
Returns a map from broker id to a future which can be used to check the information of partitions on each individual broker. The result of the future is a map from broker log directory path to a description of that log directory.
Sourcepub fn all_descriptions(
&self,
) -> KafkaFuture<HashMap<i32, HashMap<String, LogDirDescription>>>
pub fn all_descriptions( &self, ) -> KafkaFuture<HashMap<i32, HashMap<String, LogDirDescription>>>
Returns a future which succeeds only if all the brokers have responded without error, yielding a map from broker id to a map from broker log directory path to a description of that log directory.
Corresponds to DescribeLogDirsResult.allDescriptions.
Auto Trait Implementations§
impl Freeze for DescribeLogDirsResult
impl !RefUnwindSafe for DescribeLogDirsResult
impl Send for DescribeLogDirsResult
impl Sync for DescribeLogDirsResult
impl Unpin for DescribeLogDirsResult
impl UnsafeUnpin for DescribeLogDirsResult
impl !UnwindSafe for DescribeLogDirsResult
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