pub struct DescribeProducersResult { /* private fields */ }Expand description
The result of Admin::describe_producers.
Implementations§
Source§impl DescribeProducersResult
impl DescribeProducersResult
Sourcepub fn partition_result(
&self,
partition: &TopicPartition,
) -> Result<KafkaFuture<PartitionProducerState>, Error>
pub fn partition_result( &self, partition: &TopicPartition, ) -> Result<KafkaFuture<PartitionProducerState>, Error>
Sourcepub fn all(
&self,
) -> KafkaFuture<HashMap<TopicPartition, PartitionProducerState>>
pub fn all( &self, ) -> KafkaFuture<HashMap<TopicPartition, PartitionProducerState>>
Returns a future yielding a map of every requested partition’s producer state. Fails if any partition’s request fails.
Trait Implementations§
Source§impl Clone for DescribeProducersResult
impl Clone for DescribeProducersResult
Source§fn clone(&self) -> DescribeProducersResult
fn clone(&self) -> DescribeProducersResult
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 moreAuto Trait Implementations§
impl Freeze for DescribeProducersResult
impl !RefUnwindSafe for DescribeProducersResult
impl Send for DescribeProducersResult
impl Sync for DescribeProducersResult
impl Unpin for DescribeProducersResult
impl UnsafeUnpin for DescribeProducersResult
impl !UnwindSafe for DescribeProducersResult
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