Skip to main content

FileMemoryStore

Struct FileMemoryStore 

Source
pub struct FileMemoryStore { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl Debug for FileMemoryStore

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl MemoryStore for FileMemoryStore

Source§

fn backend_kind(&self) -> &'static str

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

fn snapshot<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<SnapshotManifest>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.