Struct rdkafka::metadata::Metadata [] [src]

pub struct Metadata(_);

Metadata container. This structure wraps the metadata pointer returned by rdkafka-sys, and deallocates all the native resources when dropped.

Methods

impl Metadata
[src]

Creates a new Metadata container given a pointer to the native rdkafka-sys metadata.

Returns the id of the broker originating this metadata.

Returns the hostname of the broker originating this metadata.

Returns the metadata information for all the brokers in the cluster.

Returns the metadata information for all the topics in the cluster.

Trait Implementations

impl Drop for Metadata
[src]

A method called when the value goes out of scope. Read more