pub trait ClientService:
Send
+ Sync
+ 'static {
// Required methods
fn create_client<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateClientRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateClientResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_clients<'life0, 'async_trait>(
&'life0 self,
request: Request<GetClientsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetClientsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_clients<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateClientsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateClientsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_clients<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteClientsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteClientsResponse>, 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 ClientServiceServer.