Skip to main content

IndexingCacheStorage

Trait IndexingCacheStorage 

Source
pub trait IndexingCacheStorage {
    // Required methods
    fn ensure_indexing_agent(&self, agent: &Agent) -> Result<i64>;
    fn ensure_indexing_workspace(
        &self,
        path: &Path,
        display_name: Option<&str>,
    ) -> Result<i64>;
}

Required Methods§

Source

fn ensure_indexing_agent(&self, agent: &Agent) -> Result<i64>

Source

fn ensure_indexing_workspace( &self, path: &Path, display_name: Option<&str>, ) -> Result<i64>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§