Trait devtools_wire_format::tauri::tauri_server::Tauri
source · pub trait Tauri: Send + Sync + 'static {
// Required methods
fn get_versions<'life0, 'async_trait>(
&'life0 self,
request: Request<VersionsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<Versions>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_config<'life0, 'async_trait>(
&'life0 self,
request: Request<ConfigRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<Config>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_metrics<'life0, 'async_trait>(
&'life0 self,
request: Request<MetricsRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<Metrics>, 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 TauriServer.