Struct rdkafka::config::TopicConfig [] [src]

pub struct TopicConfig { /* fields omitted */ }

Topic configuration.

Methods

impl TopicConfig
[src]

Returns a new TopicConfig.

Adds a new key-value pair in the topic configuration.

Finalizes the creation of the topic configuration. Useful at the end of a chain of setters, if you need to store the resulting topic configuration before its use.

Creates a native rdkafka-sys topic configuration.

Trait Implementations

impl Clone for TopicConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for TopicConfig
[src]

Returns the "default value" for a type. Read more