pub struct SqliteCodeIndexStore { /* private fields */ }Implementations§
Source§impl SqliteCodeIndexStore
impl SqliteCodeIndexStore
pub fn open(path: impl AsRef<Path>) -> Result<Self>
pub fn path(&self) -> &Path
pub fn id(&self) -> &'static str
pub fn rebuild_workspace( &self, workspace_root: impl AsRef<Path>, ) -> Result<RebuildStats>
pub fn status( &self, workspace_root: impl AsRef<Path>, ) -> Result<IndexGeneration>
pub fn list_chunks(&self) -> Result<Vec<StoredChunk>>
pub fn search( &self, request: CodeIndexSearchRequest, ) -> Result<CodeIndexSearchResponse>
Auto Trait Implementations§
impl !Freeze for SqliteCodeIndexStore
impl RefUnwindSafe for SqliteCodeIndexStore
impl Send for SqliteCodeIndexStore
impl Sync for SqliteCodeIndexStore
impl Unpin for SqliteCodeIndexStore
impl UnsafeUnpin for SqliteCodeIndexStore
impl UnwindSafe for SqliteCodeIndexStore
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more