pub trait ProviderClassification {
// Required methods
fn is_config_driven(&self) -> bool;
fn supports_custom_config(&self) -> bool;
fn adapter_type(&self) -> AdapterType;
fn get_default_config(&self) -> Result<ProviderConfig, AiLibError>;
}
Expand description
Provider classification trait defining behavior patterns
Required Methods§
Sourcefn is_config_driven(&self) -> bool
fn is_config_driven(&self) -> bool
Check if this provider is config-driven (uses GenericAdapter)
Sourcefn supports_custom_config(&self) -> bool
fn supports_custom_config(&self) -> bool
Check if this provider supports custom configuration
Sourcefn adapter_type(&self) -> AdapterType
fn adapter_type(&self) -> AdapterType
Get the adapter type for this provider
Sourcefn get_default_config(&self) -> Result<ProviderConfig, AiLibError>
fn get_default_config(&self) -> Result<ProviderConfig, AiLibError>
Get the default configuration for this provider