pub trait RetromPluginServiceClientExt<R: Runtime> {
// Required methods
fn service_client(&self) -> &RetromPluginServiceClient<R>;
fn get_metadata_client(
&self,
) -> impl Future<Output = MetadataServiceClient<GrpcWebClientService<Client<HttpsConnector<HttpConnector>, GrpcWebCall<Body>>>>>;
fn get_game_client(
&self,
) -> impl Future<Output = GameServiceClient<GrpcWebClientService<Client<HttpsConnector<HttpConnector>, GrpcWebCall<Body>>>>>;
fn get_emulator_client(
&self,
) -> impl Future<Output = EmulatorServiceClient<GrpcWebClientService<Client<HttpsConnector<HttpConnector>, GrpcWebCall<Body>>>>>;
fn get_platform_client(
&self,
) -> impl Future<Output = PlatformServiceClient<GrpcWebClientService<Client<HttpsConnector<HttpConnector>, GrpcWebCall<Body>>>>>;
}Expand description
Extensions to tauri::App, tauri::AppHandle and tauri::Window to access the retrom-plugin-service-client APIs.
Required Methods§
fn service_client(&self) -> &RetromPluginServiceClient<R>
fn get_metadata_client( &self, ) -> impl Future<Output = MetadataServiceClient<GrpcWebClientService<Client<HttpsConnector<HttpConnector>, GrpcWebCall<Body>>>>>
fn get_game_client( &self, ) -> impl Future<Output = GameServiceClient<GrpcWebClientService<Client<HttpsConnector<HttpConnector>, GrpcWebCall<Body>>>>>
fn get_emulator_client( &self, ) -> impl Future<Output = EmulatorServiceClient<GrpcWebClientService<Client<HttpsConnector<HttpConnector>, GrpcWebCall<Body>>>>>
fn get_platform_client( &self, ) -> impl Future<Output = PlatformServiceClient<GrpcWebClientService<Client<HttpsConnector<HttpConnector>, GrpcWebCall<Body>>>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.