Struct rdkafka::config::ClientConfig
[−]
[src]
pub struct ClientConfig { /* fields omitted */ }
Client configuration.
Methods
impl ClientConfig
[src]
fn new() -> ClientConfig
Creates a new empty configuration.
fn set<'a>(&'a mut self, key: &str, value: &str) -> &'a mut ClientConfig
Sets a new parameter in the configuration.
fn set_default_topic_config<'a>(&'a mut self,
default_topic_config: TopicConfig)
-> &'a mut ClientConfig
default_topic_config: TopicConfig)
-> &'a mut ClientConfig
fn create_native_config(&self) -> KafkaResult<*mut RDKafkaConf>
fn config_clone(&self) -> ClientConfig
fn create<T: FromClientConfig>(&self) -> KafkaResult<T>
fn create_with_context<C: Context, T: FromClientConfigAndContext<C>>(&self,
context: C)
-> KafkaResult<T>
context: C)
-> KafkaResult<T>
Trait Implementations
impl Clone for ClientConfig
[src]
fn clone(&self) -> ClientConfig
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