rdkafka::types

Type Alias RDKafkaMetadataPartition

Source
pub type RDKafkaMetadataPartition = rd_kafka_metadata_partition;
Expand description

Native rdkafka partition information.

Aliased Type§

struct RDKafkaMetadataPartition {
    pub id: i32,
    pub err: rd_kafka_resp_err_t,
    pub leader: i32,
    pub replica_cnt: i32,
    pub replicas: *mut i32,
    pub isr_cnt: i32,
    pub isrs: *mut i32,
}

Fields§

§id: i32§err: rd_kafka_resp_err_t§leader: i32§replica_cnt: i32§replicas: *mut i32§isr_cnt: i32§isrs: *mut i32

Trait Implementations

Source§

impl Clone for rd_kafka_metadata_partition

Source§

fn clone(&self) -> rd_kafka_metadata_partition

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for rd_kafka_metadata_partition

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Copy for rd_kafka_metadata_partition