pub trait ProviderModelPolicy:
Send
+ Sync
+ Debug {
// Required method
fn supported_variants(&self, model: &str) -> &'static [&'static str];
// Provided method
fn input_usage_excludes_cached_tokens(&self) -> bool { ... }
}Required Methods§
fn supported_variants(&self, model: &str) -> &'static [&'static str]
Provided Methods§
fn input_usage_excludes_cached_tokens(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".