pub struct CharcoalConfig {
pub ssl: Option<SSLConfig>,
pub sasl: Option<SASLConfig>,
pub kafka_topic: String,
}Expand description
Configuration for charcoal
Fields§
§ssl: Option<SSLConfig>Configure SSl for kafka. If left as None no SSL is configured
sasl: Option<SASLConfig>Configure SASL/Password and Username Based Authentication for Kafka. If left as None no SASL is configured
kafka_topic: StringKafka topic to connect to. This should be the same one the hearth server(s) are on.
Trait Implementations§
Source§impl Clone for CharcoalConfig
impl Clone for CharcoalConfig
Source§fn clone(&self) -> CharcoalConfig
fn clone(&self) -> CharcoalConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CharcoalConfig
impl RefUnwindSafe for CharcoalConfig
impl Send for CharcoalConfig
impl Sync for CharcoalConfig
impl Unpin for CharcoalConfig
impl UnwindSafe for CharcoalConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more