pub trait ProjectService:
Send
+ Sync
+ 'static {
// Required methods
fn create<'life0, 'async_trait>(
&'life0 self,
request: Request<ProjectCreateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Project>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update<'life0, 'async_trait>(
&'life0 self,
request: Request<ProjectUpdateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Project>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete<'life0, 'async_trait>(
&'life0 self,
request: Request<ProjectDeleteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProjectDeleteResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get<'life0, 'async_trait>(
&'life0 self,
request: Request<ProjectGetRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Project>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_all<'life0, 'async_trait>(
&'life0 self,
request: Request<ProjectGetAllRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Projects>, 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 ProjectServiceServer.