pub struct DescribeClusterResult { /* private fields */ }Expand description
The result of the Admin::describe_cluster call.
Corresponds to org.apache.kafka.clients.admin.DescribeClusterResult.
Implementations§
Source§impl DescribeClusterResult
impl DescribeClusterResult
Sourcepub fn nodes(&self) -> KafkaFuture<Vec<Node>>
pub fn nodes(&self) -> KafkaFuture<Vec<Node>>
Returns a future which yields a collection of nodes in the cluster.
Sourcepub fn controller(&self) -> KafkaFuture<Option<Node>>
pub fn controller(&self) -> KafkaFuture<Option<Node>>
Returns a future which yields the current controller node in the cluster.
The value is None if there is no current controller.
Sourcepub fn cluster_id(&self) -> KafkaFuture<String>
pub fn cluster_id(&self) -> KafkaFuture<String>
Returns a future which yields the id of the cluster.
Returns a future which yields the authorized operations of the cluster.
The value is None if the operations were not requested or the broker
omitted them.
Auto Trait Implementations§
impl Freeze for DescribeClusterResult
impl !RefUnwindSafe for DescribeClusterResult
impl Send for DescribeClusterResult
impl Sync for DescribeClusterResult
impl Unpin for DescribeClusterResult
impl UnsafeUnpin for DescribeClusterResult
impl !UnwindSafe for DescribeClusterResult
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