pub trait Compute:
Send
+ Sync
+ 'static {
// Required methods
fn health<'life0, 'async_trait>(
&'life0 self,
request: Request<HealthRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<HealthResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn describe<'life0, 'async_trait>(
&'life0 self,
request: Request<ComputeDescribeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ComputeDescribeResponse>, 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 ComputeServer.