Skip to main content

KnowledgeBaseExtension

Trait KnowledgeBaseExtension 

Source
pub trait KnowledgeBaseExtension: Send + Sync {
    // Required method
    fn metadata(&self) -> &ExtensionMetadata;

    // Provided method
    fn validators(
        &self,
        _: &ResolvedBindings,
    ) -> Result<Vec<Arc<dyn KnowledgeBaseValidator>>, FrameworkError> { ... }
}
Expand description

A concrete extension implementation without CLI coupling.

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§