Trait Provider

Source
pub trait Provider {
    // Required methods
    fn name(&self) -> &'static str;
    fn available_models(&self) -> Vec<&'static str>;
    fn is_configured(&self) -> bool;
}
Expand description

Trait for common provider operations

Required Methods§

Source

fn name(&self) -> &'static str

Provider name

Source

fn available_models(&self) -> Vec<&'static str>

Available models for this provider

Source

fn is_configured(&self) -> bool

Check if the provider is configured properly

Implementors§