Skip to main content

KnowledgeStoreFactory

Trait KnowledgeStoreFactory 

Source
pub trait KnowledgeStoreFactory: Send + Sync {
    // Required methods
    fn open(&self) -> KnowledgeStoreFactoryFuture<'_, Arc<dyn KnowledgeStore>>;
    fn topology_snapshot(
        &self,
    ) -> KnowledgeStoreFactoryFuture<'_, StorageTopologySnapshot>;
}
Expand description

Configured outer-layer factory used for lazy storage initialization.

Application workflows depend on this contract and never construct a concrete database or probe a storage topology themselves.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§