pub struct SqliteStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Store for SqliteStore
impl Store for SqliteStore
fn index( &mut self, project_id: &str, content: &str, meta: &SessionMeta, ) -> Result<String, Error>
fn search( &mut self, project_id: &str, query: &str, limit: usize, ) -> Result<Vec<SearchResult>, Error>
fn delete_by_session( &mut self, project_id: &str, session_id: &str, ) -> Result<usize, Error>
fn cleanup_stale( &mut self, project_id: &str, max_age_secs: i64, ) -> Result<usize, Error>
Auto Trait Implementations§
impl !Freeze for SqliteStore
impl !RefUnwindSafe for SqliteStore
impl Send for SqliteStore
impl !Sync for SqliteStore
impl Unpin for SqliteStore
impl UnsafeUnpin for SqliteStore
impl !UnwindSafe for SqliteStore
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