pub trait PolarisServiceContractGrpc:
Send
+ Sync
+ 'static {
// Required methods
fn report_service_contract<'life0, 'async_trait>(
&'life0 self,
request: Request<ServiceContract>,
) -> Pin<Box<dyn Future<Output = Result<Response<Response>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_service_contract<'life0, 'async_trait>(
&'life0 self,
request: Request<ServiceContract>,
) -> Pin<Box<dyn Future<Output = Result<Response<Response>, 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 PolarisServiceContractGrpcServer.