Struct rdkafka::config::TopicConfig
[−]
[src]
pub struct TopicConfig { /* fields omitted */ }
Topic configuration.
Methods
impl TopicConfig
[src]
fn new() -> TopicConfig
Returns a new TopicConfig for the specified topic name and client.
fn set(&mut self, key: &str, value: &str) -> &mut TopicConfig
Adds a new key-value pair in the topic configution.
fn finalize(&self) -> TopicConfig
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.
fn create_native_config(&self) -> KafkaResult<*mut RDKafkaTopicConf>
Trait Implementations
impl Clone for TopicConfig
[src]
fn clone(&self) -> TopicConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more