MetadataService

Trait MetadataService 

Source
pub trait MetadataService:
    Send
    + Sync
    + 'static {
    // Required methods
    fn get_game_metadata<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetGameMetadataRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetGameMetadataResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_game_metadata<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UpdateGameMetadataRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateGameMetadataResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_platform_metadata<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetPlatformMetadataRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetPlatformMetadataResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_platform_metadata<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UpdatePlatformMetadataRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<UpdatePlatformMetadataResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_igdb_search<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetIgdbSearchRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetIgdbSearchResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_igdb_game_search_results<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetIgdbGameSearchResultsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetIgdbGameSearchResultsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_igdb_platform_search_results<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetIgdbPlatformSearchResultsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetIgdbPlatformSearchResultsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn sync_steam_metadata<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SyncSteamMetadataRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<SyncSteamMetadataResponse>, 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 MetadataServiceServer.

Required Methods§

Source

fn get_game_metadata<'life0, 'async_trait>( &'life0 self, request: Request<GetGameMetadataRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetGameMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn update_game_metadata<'life0, 'async_trait>( &'life0 self, request: Request<UpdateGameMetadataRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdateGameMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_platform_metadata<'life0, 'async_trait>( &'life0 self, request: Request<GetPlatformMetadataRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetPlatformMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn update_platform_metadata<'life0, 'async_trait>( &'life0 self, request: Request<UpdatePlatformMetadataRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<UpdatePlatformMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_igdb_game_search_results<'life0, 'async_trait>( &'life0 self, request: Request<GetIgdbGameSearchResultsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetIgdbGameSearchResultsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn get_igdb_platform_search_results<'life0, 'async_trait>( &'life0 self, request: Request<GetIgdbPlatformSearchResultsRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<GetIgdbPlatformSearchResultsResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn sync_steam_metadata<'life0, 'async_trait>( &'life0 self, request: Request<SyncSteamMetadataRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<SyncSteamMetadataResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§