Skip to main content

MemoryService

Trait MemoryService 

Source
pub trait MemoryService:
    Send
    + Sync
    + 'static {
Show 16 methods // Required methods fn upsert_memory_record<'life0, 'async_trait>( &'life0 self, request: Request<UpsertMemoryRecordRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpsertMemoryRecordReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn batch_upsert_memory_records<'life0, 'async_trait>( &'life0 self, request: Request<BatchUpsertMemoryRecordsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<BatchUpsertMemoryRecordsReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn recall<'life0, 'async_trait>( &'life0 self, request: Request<RecallRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RecallReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn compact<'life0, 'async_trait>( &'life0 self, request: Request<CompactRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CompactReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn snapshot<'life0, 'async_trait>( &'life0 self, request: Request<SnapshotRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SnapshotReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn delete<'life0, 'async_trait>( &'life0 self, request: Request<DeleteRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn archive<'life0, 'async_trait>( &'life0 self, request: Request<ArchiveRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ArchiveReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn suppress<'life0, 'async_trait>( &'life0 self, request: Request<SuppressRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SuppressReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn recover<'life0, 'async_trait>( &'life0 self, request: Request<RecoverRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RecoverReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn stats<'life0, 'async_trait>( &'life0 self, request: Request<StoreStatsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<StoreStatsReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn integrity_check<'life0, 'async_trait>( &'life0 self, request: Request<IntegrityCheckRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<IntegrityCheckReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn repair<'life0, 'async_trait>( &'life0 self, request: Request<RepairRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RepairReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn list_traces<'life0, 'async_trait>( &'life0 self, request: Request<ListTracesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListTracesReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn get_trace<'life0, 'async_trait>( &'life0 self, request: Request<GetTraceRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<OperationTrace>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn export<'life0, 'async_trait>( &'life0 self, request: Request<ExportRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ExportReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait; fn import<'life0, 'async_trait>( &'life0 self, request: Request<ImportRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ImportReply>, Status>> + Send + 'async_trait>> where Self: 'async_trait, 'life0: 'async_trait;
}
Expand description

Generated trait containing gRPC methods that should be implemented for use with MemoryServiceServer.

Required Methods§

Source

fn upsert_memory_record<'life0, 'async_trait>( &'life0 self, request: Request<UpsertMemoryRecordRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpsertMemoryRecordReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn batch_upsert_memory_records<'life0, 'async_trait>( &'life0 self, request: Request<BatchUpsertMemoryRecordsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<BatchUpsertMemoryRecordsReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn recall<'life0, 'async_trait>( &'life0 self, request: Request<RecallRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RecallReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn compact<'life0, 'async_trait>( &'life0 self, request: Request<CompactRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<CompactReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn snapshot<'life0, 'async_trait>( &'life0 self, request: Request<SnapshotRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SnapshotReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn delete<'life0, 'async_trait>( &'life0 self, request: Request<DeleteRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<DeleteReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn archive<'life0, 'async_trait>( &'life0 self, request: Request<ArchiveRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ArchiveReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn suppress<'life0, 'async_trait>( &'life0 self, request: Request<SuppressRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SuppressReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn recover<'life0, 'async_trait>( &'life0 self, request: Request<RecoverRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RecoverReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn stats<'life0, 'async_trait>( &'life0 self, request: Request<StoreStatsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<StoreStatsReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn integrity_check<'life0, 'async_trait>( &'life0 self, request: Request<IntegrityCheckRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<IntegrityCheckReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn repair<'life0, 'async_trait>( &'life0 self, request: Request<RepairRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<RepairReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn list_traces<'life0, 'async_trait>( &'life0 self, request: Request<ListTracesRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ListTracesReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_trace<'life0, 'async_trait>( &'life0 self, request: Request<GetTraceRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<OperationTrace>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn export<'life0, 'async_trait>( &'life0 self, request: Request<ExportRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ExportReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn import<'life0, 'async_trait>( &'life0 self, request: Request<ImportRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<ImportReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§