pub trait TelemetryProvider:
Send
+ Sync
+ 'static {
// Required method
fn get_telemetry<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTelemetryRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetTelemetryResponse>, 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 TelemetryProviderServer.
Required Methods§
Sourcefn get_telemetry<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTelemetryRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetTelemetryResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_telemetry<'life0, 'async_trait>(
&'life0 self,
request: Request<GetTelemetryRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetTelemetryResponse>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets the telemetry data of a remote agent.