pub trait PopulateClientConfig {
fn kafka_connection(&self) -> &KafkaConnection;
fn options(&self) -> &BTreeMap<String, StringOrSecret>;
fn drop_option_keys() -> HashSet<&'static str> { ... }
fn populate_client_config(
&self,
config: &mut ClientConfig,
secrets_reader: &SecretsReader
) { ... }
}
Expand description
Provides cleaner access to the populate_client_config
implementation for
structs.