pub struct PluginRegistry {
pub dialects: PlatformRegistry,
pub storage: StorageRegistry,
pub llm: LlmRegistry,
pub models: ModelRegistry,
pub language: LanguageRegistry,
pub events: EventRegistry,
}Expand description
Aggregates all sub-registries into a single composition root.
Created by crate::builder::PluginRegistryBuilder::build().
Fields§
§dialects: PlatformRegistryDatabase dialect registry (enum-keyed + string-keyed).
storage: StorageRegistryStorage provider factory registry (enum-keyed + string-keyed).
llm: LlmRegistryLLM provider factory registry (string-keyed).
models: ModelRegistryModel adapter registry ((provider, model) keyed).
language: LanguageRegistryLanguage renderer factory registry (string-keyed).
events: EventRegistryEvent sink registry (fan-out to all sinks).
Auto Trait Implementations§
impl !Freeze for PluginRegistry
impl !RefUnwindSafe for PluginRegistry
impl !UnwindSafe for PluginRegistry
impl Forget for PluginRegistry
impl Send for PluginRegistry
impl Sync for PluginRegistry
impl Unpin for PluginRegistry
impl UnsafeUnpin for PluginRegistry
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