pub struct Metadata(_);
Expand description

Metadata container.

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

Implementations

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.