pub trait SharedMemory:
Send
+ Sync
+ 'static {
// Required methods
fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<GetRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn indexed<'life0, 'async_trait>(
&'life0 self,
request: Request<IndexedRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<IndexedResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn apply<'life0, 'async_trait>(
&'life0 self,
request: Request<ApplyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ApplyResponse>, 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 SharedMemoryServer.