Struct kafka::client::SecurityConfig
[−]
[src]
pub struct SecurityConfig { /* fields omitted */ }
Security relevant configuration options for KafkaClient
.
Methods
impl SecurityConfig
[src]
fn new(connector: SslConnector) -> Self
[src]
In the future this will also support a kerbos via #51.
fn with_hostname_verification(self, verify_hostname: bool) -> SecurityConfig
[src]
Initiates a client-side TLS session with/without performing hostname verification.