pub trait FromClientConfig: Sized {
    // Required method
    fn from_config(_: &ClientConfig) -> Result<Self, KafkaError>;
}
Expand description

Create a new client based on the provided configuration.

Required Methods§

source

fn from_config(_: &ClientConfig) -> Result<Self, KafkaError>

Creates a client from a client configuration. The default client context will be used.

Implementors§