Skip to main content

IndexService

Trait IndexService 

Source
pub trait IndexService: Send + Sync {
    // Required methods
    fn refresh(&self) -> Result<(), String>;
    fn is_running(&self) -> bool;
}
Expand description

Background indexing with progress reporting.

Required Methods§

Source

fn refresh(&self) -> Result<(), String>

Trigger an incremental index refresh.

Source

fn is_running(&self) -> bool

Check if indexing is currently in progress.

Implementors§