pub struct LlmRegistration {
pub name: &'static str,
pub factory: fn() -> Arc<dyn LlmClientFactory>,
}Expand description
Registration entry for auto-discovered LLM providers.
Fields§
§name: &'static strCanonical provider name (e.g. "ollama").
factory: fn() -> Arc<dyn LlmClientFactory>Factory function that constructs the LLM client factory.
Implementations§
Trait Implementations§
impl Collect for LlmRegistration
Auto Trait Implementations§
impl Freeze for LlmRegistration
impl RefUnwindSafe for LlmRegistration
impl Send for LlmRegistration
impl Sync for LlmRegistration
impl Unpin for LlmRegistration
impl UnsafeUnpin for LlmRegistration
impl UnwindSafe for LlmRegistration
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