pub trait RaftClientService:
Send
+ Sync
+ 'static {
// Required methods
fn handle_client_write<'life0, 'async_trait>(
&'life0 self,
request: Request<ClientWriteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ClientResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn handle_client_read<'life0, 'async_trait>(
&'life0 self,
request: Request<ClientReadRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ClientResponse>, 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 RaftClientServiceServer.