pub struct FileMemoryStore { /* private fields */ }Implementations§
Source§impl FileMemoryStore
impl FileMemoryStore
pub fn open(config: FileStoreConfig) -> Result<Self>
Trait Implementations§
Source§impl Debug for FileMemoryStore
impl Debug for FileMemoryStore
Source§impl MemoryStore for FileMemoryStore
impl MemoryStore for FileMemoryStore
fn backend_kind(&self) -> &'static str
fn upsert<'life0, 'async_trait>(
&'life0 self,
request: UpsertRequest,
) -> Pin<Box<dyn Future<Output = Result<UpsertReceipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn batch_upsert<'life0, 'async_trait>(
&'life0 self,
request: BatchUpsertRequest,
) -> Pin<Box<dyn Future<Output = Result<Vec<UpsertReceipt>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn recall<'life0, 'async_trait>(
&'life0 self,
query: RecallQuery,
) -> Pin<Box<dyn Future<Output = Result<RecallResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn compact<'life0, 'async_trait>(
&'life0 self,
request: CompactionRequest,
) -> Pin<Box<dyn Future<Output = Result<CompactionReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete<'life0, 'async_trait>(
&'life0 self,
request: DeleteRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteReceipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn archive<'life0, 'async_trait>(
&'life0 self,
request: ArchiveRequest,
) -> Pin<Box<dyn Future<Output = Result<ArchiveReceipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn suppress<'life0, 'async_trait>(
&'life0 self,
request: SuppressRequest,
) -> Pin<Box<dyn Future<Output = Result<SuppressReceipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn recover<'life0, 'async_trait>(
&'life0 self,
request: RecoverRequest,
) -> Pin<Box<dyn Future<Output = Result<RecoverReceipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn snapshot<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SnapshotManifest>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stats<'life0, 'async_trait>(
&'life0 self,
request: StoreStatsRequest,
) -> Pin<Box<dyn Future<Output = Result<StoreStatsReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn integrity_check<'life0, 'async_trait>(
&'life0 self,
request: IntegrityCheckRequest,
) -> Pin<Box<dyn Future<Output = Result<IntegrityCheckReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn repair<'life0, 'async_trait>(
&'life0 self,
request: RepairRequest,
) -> Pin<Box<dyn Future<Output = Result<RepairReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn export<'life0, 'async_trait>(
&'life0 self,
request: ExportRequest,
) -> Pin<Box<dyn Future<Output = Result<PortableStorePackage>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn import<'life0, 'async_trait>(
&'life0 self,
request: ImportRequest,
) -> Pin<Box<dyn Future<Output = Result<ImportReport>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for FileMemoryStore
impl !RefUnwindSafe for FileMemoryStore
impl Send for FileMemoryStore
impl Sync for FileMemoryStore
impl Unpin for FileMemoryStore
impl UnsafeUnpin for FileMemoryStore
impl !UnwindSafe for FileMemoryStore
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