api::v1::region::region_server

Trait Region

pub trait Region:
    Send
    + Sync
    + 'static {
    // Required method
    fn handle<'life0, 'async_trait>(
        &'life0 self,
        request: Request<RegionRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<RegionResponse>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}
Expand description

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

Required Methods§

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

Implementors§