pub struct DescribeClusterResult { /* private fields */ }Expand description
The result of the Admin::describe_cluster call.
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, or None if there is no
current controller.
When using bootstrap.servers, the controller refer to a random broker.
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.
Trait Implementations§
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