Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use crate::error::IsError;
use crate::util::{KafkaDrop, NativePtr};

/// Broker metadata information.
#[repr(transparent)]
pub struct MetadataBroker(RDKafkaMetadataBroker);

impl MetadataBroker {
Expand Down Expand Up @@ -45,6 +46,7 @@ impl fmt::Debug for MetadataBroker {
}

/// Partition metadata information.
#[repr(transparent)]
pub struct MetadataPartition(RDKafkaMetadataPartition);

impl MetadataPartition {
Expand Down Expand Up @@ -96,6 +98,7 @@ impl fmt::Debug for MetadataPartition {
}

/// Topic metadata information.
#[repr(transparent)]
pub struct MetadataTopic(RDKafkaMetadataTopic);

impl MetadataTopic {
Expand Down