Skip to main content

KnowledgeStoreFactory

Trait KnowledgeStoreFactory 

Source
pub trait KnowledgeStoreFactory:
    Send
    + Sync
    + 'static {
    // Required methods
    fn id(&self) -> KnowledgeStoreId;
    fn create(&self) -> Arc<dyn KnowledgeStore>;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§