Trait ClientConfig

Source
pub trait ClientConfig:
    Send
    + Sync
    + Debug {
    // Required method
    fn as_any(&self) -> &dyn Any;
}
Expand description

Configuration for creating client instances.

This trait allows different client types to provide their configuration in a type-safe manner while still being usable in generic factory contexts.

Required Methods§

Source

fn as_any(&self) -> &dyn Any

Return the configuration as a trait object.

Implementors§