pub trait LibraryService:
Send
+ Sync
+ 'static {
// Required methods
fn update_library<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateLibraryRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateLibraryResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update_library_metadata<'life0, 'async_trait>(
&'life0 self,
request: Request<UpdateLibraryMetadataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpdateLibraryMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_library<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteLibraryRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteLibraryResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_missing_entries<'life0, 'async_trait>(
&'life0 self,
request: Request<DeleteMissingEntriesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeleteMissingEntriesResponse>, 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 LibraryServiceServer.